Forums
pb port usb !
-
Salut ..
j'ai un pb de transfet sur mes ports usb !
Mes transferts, que ce soit clef ou disque , sont lents ! tres lent !
un :
time cp toto /media/disk/ me rend des temps allucunants !
idem sous dolphin !
et vous ?
j'ai l'impression que le transfert commence a 10/15 Mo/s et arrivé a 100Mo diminue
vers les 100Ko /s -
(Refais tes liens Marco)
J'avoue que j'avais pas grillé ce soucis n'ayant transféré que de petits fichiers
j'ai pour ainsi dire le même ...
de DD a USB et jusqu'a 500Mio je crache a plus de 25Mio/s ensuite les transferts chutent pour n'arriver qu'a 5Mio/s sur un transfert de dossier de 1,4Gio , normal que ça chute mais pas a ce point sachant que lors du transfert mon PC venait d'être allumé et ne faisait que ça !
le peu que j'ai lu c'est que c'est un problème commun a beaucoup de distribs donc un soucis au niveau du noyau , noyau qui chez moi a été mis a jour hier donc n'a pas été patché pour ça !
Arg ! je vais fouiner ça !
--edit: testé avec gnome commander c'est vaguement plus rapide mais rien de significatif
--edit2 : une piste ? je ne trouve aucun module pour l'USB2 de charger dans le noyaupas de uhci-hcd , pas de ehci-hcd encore moins de ohci-hcd qui lui correspond a un autre chipset
-
vi hein !
Le pense que le demarrage du transfert se fait en ram donc, rapide ..
Ensuite cela depend de la quantité de cette ram donc on en envoie plus, puis
ca passe par le swap ! .. et la, c'est la cata !
moi avec 512 Mo de ram, sur un fichier de 300 Mo , les premiers 150
fonce, puis le transfert descent a 100ko ... alors sur 1 Go ou 2, c'est la grosse cata !
Quant a toi, si tu as 2 ou 4 go de ram, il est possible qu'elle engrange 500 Mo et commence a transfere sur le swap a ce moment là, d'ou ta baisse rapide de taux de transfert !
Essai sur 5 ou 6 Go ... voir jusqu'ou descent ce taux ! -
vous avez regardé dans les log voir si vous n'avez pas un message d'erreur ou d'information ?
dans :
dmesg (pour les messages durant le boot)
/var/log/syslog (pour les erreurs générales)
(vous devez être root !)
ericc
-
oui Ericc et salut d'abord et bon come back !
DAns mon var/log... rien de bien visible ....
la clef est bien trouvée au branchement, les port en USB2 ...
Mais je vais poster les lignes interessantes -
et au boot je retrouve mes modules
[ 0.420423] ehci_hcd 0000:00:10.4: irq 21, io mem 0xfb022000 [ 0.440021] ehci_hcd 0000:00:10.4: USB 2.0 started, EHCI 1.00 [ 0.440135] usb usb1: configuration #1 chosen from 1 choice [ 0.440163] hub 1-0:1.0: USB hub found [ 0.440172] hub 1-0:1.0: 8 ports detected [ 0.440244] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 0.440259] uhci_hcd: USB Universal Host Controller Interface driver [ 0.440569] uhci_hcd 0000:00:10.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21 [ 0.440579] uhci_hcd 0000:00:10.0: UHCI Host Controller [ 0.440623] uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2 [ 0.440648] uhci_hcd 0000:00:10.0: irq 21, io base 0x0000d400 [ 0.440720] usb usb2: configuration #1 chosen from 1 choice [ 0.440743] hub 2-0:1.0: USB hub found [ 0.440750] hub 2-0:1.0: 2 ports detected [ 0.440815] uhci_hcd 0000:00:10.1: PCI INT A -> GSI 21 (level, low) -> IRQ 21 [ 0.440821] uhci_hcd 0000:00:10.1: UHCI Host Controller [ 0.440850] uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3 [ 0.440869] uhci_hcd 0000:00:10.1: irq 21, io base 0x0000d800 [ 0.440946] usb usb3: configuration #1 chosen from 1 choice [ 0.440971] hub 3-0:1.0: USB hub found [ 0.440977] hub 3-0:1.0: 2 ports detected [ 0.441035] uhci_hcd 0000:00:10.2: PCI INT B -> GSI 21 (level, low) -> IRQ 21 [ 0.441040] uhci_hcd 0000:00:10.2: UHCI Host Controller [ 0.441075] uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4 [ 0.441093] uhci_hcd 0000:00:10.2: irq 21, io base 0x0000dc00 [ 0.441162] usb usb4: configuration #1 chosen from 1 choice [ 0.441186] hub 4-0:1.0: USB hub found [ 0.441192] hub 4-0:1.0: 2 ports detected [ 0.441251] uhci_hcd 0000:00:10.3: PCI INT B -> GSI 21 (level, low) -> IRQ 21 [ 0.441256] uhci_hcd 0000:00:10.3: UHCI Host Controller [ 0.441284] uhci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 5 [ 0.441303] uhci_hcd 0000:00:10.3: irq 21, io base 0x0000e000 [ 0.441379] usb usb5: configuration #1 chosen from 1 choice [ 0.441399] hub 5-0:1.0: USB hub found [ 0.441406] hub 5-0:1.0: 2 ports detected [ 0.441495] PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq
les USB1.1 trouvés sont ceux de façade qui ne sont qu'en USB1 , mes test sont fait sur les USB2 pris au cul -
Jan 10 06:32:56 localhost klogd: usb 4-3: new high speed USB device using ehci_hcd and address 4
Jan 10 06:32:56 localhost klogd: usb 4-3: New USB device found, idVendor=0951, idProduct=1607
Jan 10 06:32:57 localhost klogd: usb 4-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jan 10 06:32:57 localhost klogd: usb 4-3: Product: DataTraveler 2.0
Jan 10 06:32:57 localhost klogd: usb 4-3: Manufacturer: Kingston
Jan 10 06:32:57 localhost klogd: usb 4-3: SerialNumber: 000AEB91BD29A920B59F0299
Jan 10 06:32:57 localhost klogd: usb 4-3: configuration #1 chosen from 1 choice
Jan 10 06:32:57 localhost klogd: scsi4 : SCSI emulation for USB Mass Storage devices
Jan 10 06:33:01 localhost klogd: scsi 4:0:0:0: Direct-Access Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 2
Jan 10 06:33:01 localhost klogd: sd 4:0:0:0: Attached scsi generic sg2 type 0
Jan 10 06:33:02 localhost klogd: sd 4:0:0:0: [sdb] 3973120 512-byte logical blocks: (2.03 GB/1.89 GiB)
Jan 10 06:33:02 localhost klogd: sd 4:0:0:0: [sdb] Write Protect is off
Jan 10 06:33:02 localhost klogd: sd 4:0:0:0: [sdb] Assuming drive cache: write through
Jan 10 06:33:02 localhost klogd: sd 4:0:0:0: [sdb] Assuming drive cache: write through
Jan 10 06:33:02 localhost klogd: sdb: sdb1
-
et mes drivers dans le modprob.conf :
install usb-interface /sbin/modprobe ehci_hcd; /sbin/modprobe uhci_hcd; /bin/true
-
pas d'erreurs dans les logs mais USB chargés comme USB1.1
Jan 10 11:02:07 bruno-desktop rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="894" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'. Jan 10 11:02:07 bruno-desktop rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="894" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'. Jan 10 11:02:16 bruno-desktop anacron[1202]: Job `cron.daily' terminated Jan 10 11:02:16 bruno-desktop anacron[1202]: Normal exit (1 job run) Jan 10 11:06:49 bruno-desktop kernel: [ 2196.550022] usb 1-1: new high speed USB device using ehci_hcd and address 4 Jan 10 11:06:49 bruno-desktop kernel: [ 2196.706283] usb 1-1: configuration #1 chosen from 1 choice Jan 10 11:06:49 bruno-desktop kernel: [ 2196.708082] scsi5 : SCSI emulation for USB Mass Storage devices Jan 10 11:06:49 bruno-desktop kernel: [ 2196.708198] usb-storage: device found at 4 Jan 10 11:06:49 bruno-desktop kernel: [ 2196.708200] usb-storage: waiting for device to settle before scanning Jan 10 11:06:54 bruno-desktop kernel: [ 2201.700640] usb-storage: device scan complete Jan 10 11:06:54 bruno-desktop kernel: [ 2201.701734] scsi 5:0:0:0: Direct-Access USB DISK 2.0 1219 PQ: 0 ANSI: 0 CCS Jan 10 11:06:54 bruno-desktop kernel: [ 2201.702115] sd 5:0:0:0: Attached scsi generic sg6 type 0 Jan 10 11:06:54 bruno-desktop kernel: [ 2201.714342] sd 5:0:0:0: [sde] 3915776 512-byte logical blocks: (2.00 GB/1.86 GiB) Jan 10 11:06:54 bruno-desktop kernel: [ 2201.715081] sd 5:0:0:0: [sde] Write Protect is off Jan 10 11:06:54 bruno-desktop kernel: [ 2201.715085] sd 5:0:0:0: [sde] Mode Sense: 43 00 00 00 Jan 10 11:06:54 bruno-desktop kernel: [ 2201.715088] sd 5:0:0:0: [sde] Assuming drive cache: write through Jan 10 11:06:54 bruno-desktop kernel: [ 2201.718334] sd 5:0:0:0: [sde] Assuming drive cache: write through Jan 10 11:06:54 bruno-desktop kernel: [ 2201.718341] sde: sde1 Jan 10 11:06:54 bruno-desktop kernel: [ 2201.765758] sd 5:0:0:0: [sde] Assuming drive cache: write through Jan 10 11:06:54 bruno-desktop kernel: [ 2201.765768] sd 5:0:0:0: [sde] Attached SCSI removable disk Jan 10 11:17:01 bruno-desktop CRON[30569]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
-
dmesg | grep ehci
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Warning! ehci_hcd should always be loaded before uhci_hcd and ohci_hcd, not after
ehci_hcd 0000:00:1d.7: PCI INT DGSI 23 (level, low)
IRQ 23
ehci_hcd 0000:00:1d.7: setting latency timer to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 4
ehci_hcd 0000:00:1d.7: debug port 1
ehci_hcd 0000:00:1d.7: cache line size of 32 is not supported
ehci_hcd 0000:00:1d.7: irq 23, io mem 0xe0100000
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
usb usb4: Manufacturer: Linux 2.6.31.6-desktop-1mnb ehci_hcd
usb 4-3: new high speed USB device using ehci_hcd and address 2