Cory's Forums Forum Index Cory's Forums
Track help topics, support/issues, tips/tricks
 
 FAQFAQ   SearchSearch    MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Slow usb (?)

 
Post new topic   Reply to topic    Cory's Forums Forum Index -> Linux
View previous topic :: View next topic  
Author Message
clievers
Site Admin


Joined: 07 Sep 2005
Posts: 164

PostPosted: Sun Oct 11, 2009 2:13 pm    Post subject: Slow usb (?) Reply with quote

Was getting slow file copy. Found this page the suggested doing modprobe stuff. Putting here for future reference.

Quote:
I don’t know when this happened but my external USB drives were running really slow. Reading RAW images off them took ages, backups took forever, and moving files back and forth was plain slow.

I use two Seagate FreeAgent external drives. They’re both USB 2 devices so should sustain more than the maximum 1MB/s I was seeing. I decided to go looking. First stop was /var/log/syslog where I found the following:

usb 2-1.2.4.4: new full speed USB device using uhci_hcd and address 13
usb 2-1.2.4.4: not running at top speed; connect to a high speed hub

To cut a long story short, after a few searches I found bug 66115 where the same problem is described. Unfortunately the ticket has since been closed but the work around discovered by Jean Pierre Rupp works for me too. I haven’t modified any files in /etc/ but unloading ehci_hcd and uhci_hcd and reloading in the correct order worked for me:

rmmod ehci_hcd
rmmod uhci_hcd
modprobe ehci_hcd
modprobe uhci_hcd

Now I get a very respectable 15-20MB/s when using rsync to transfer files from my internal drive and reads are super fast:

hdparm -tT /dev/sdi1

/dev/sdi1:
Timing cached reads: 3964 MB in 2.00 seconds = 1985.16 MB/sec
Timing buffered disk reads: 82 MB in 3.03 seconds = 27.08 MB/sec

Next on the TODO list is making sure the modules are loaded in the correct order on reboot. Time to dive into /etc
[/quote]
_________________
Let's all play nice!!
Smile
http://www.cory.lievers.ca
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cory's Forums Forum Index -> Linux All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


RSS Feed

Powered by phpBB © 2001, 2005 phpBB Group
Cory Lievers  |  Cory Lievers Blog  |  Lievers
Site5 $5 Hosting Deal