April 03, 2009

USB == Universal sloth bus?

I must be doing something really wrong. It shouldn't take 2 or 3 hours to copy 80 gigabytes from one external USB2 HD to another external USB2 HD, both formatted NTFS. I did a quick calculation, and USB in principle can handle about 200 gigabytes per hour. That's if it's maxed out, which can never happen. But I'm not getting even an fifth of that. It's not filesystem overhead, either; it's a bunch of huge zip archives, averaging about 200M. (Yes, I know that each byte copied has to travel over the wire twice.)

Both of the drives are plugged into the same hub, which also has my mouse plugged into it. Could the hub really be fouling things up that badly?

I think I may have to do some experimenting, copying one file over and timing how long it takes. But I fear I'm going to have to plug both drives directly into my computer if I want any kind of reasonable performance out of them.

Posted by: Steven Den Beste in Computers at 08:40 PM | Comments (7) | Add Comment
Post contains 172 words, total size 1 kb.

1 Sadly, 2 hours for 80GB is about right in my experience.  The best sustained speeds I've seen are around 20MB/second, and for two drives on the same hub, the throughput will be half that.

Posted by: Pixy Misa at April 03, 2009 08:52 PM (PiXy!)

2 USB is clocked at 480 mbit/s. With its heavy protocol overhead, the practical data transfer speed is about 25 MB/s, maybe 30 MB/s at the most. If we assume that an hour has 3600 seconds, it comes to 72 GB/h in one direction. 80 GB copy should take about 2 hours with chage, then.

Posted by: Pete Zaitcev at April 03, 2009 09:14 PM (/ppBw)

3 Looks like I'm going to have to leave the 146G copy to run over night. (Initial estimate in the progress box is 3.5 hours.)

Posted by: Steven Den Beste at April 03, 2009 09:53 PM (+rSRq)

4 The good news is that I can watch a DVD while it's going on. And even though my sound module is USB, it's not breaking up.

Posted by: Steven Den Beste at April 03, 2009 09:57 PM (+rSRq)

5 Sound is an Isochronous transfer, so it's a guaranteed throughput. Bulk cannot steal ISO bandwidth on USB. Although, if OS does not schedule the application that drives the sound, it may still skip.

Posted by: Pete Zaitcev at April 03, 2009 10:27 PM (/ppBw)

6

The transfer is about a quarter of the way through, and Vista reports a transfer speed of 11.8 MB/s. Which, of course, is really double that, about 22MB/s, which is right where you said.

I did some cable rearranging; right now both of those drives are directly connected to the computer. But somehow I don't think that will make much difference. The transfer speed was about the same when I was working through the hub.

Posted by: Steven Den Beste at April 03, 2009 10:38 PM (+rSRq)

7 On most computers there's only one EHCI onboard, so plugging directly into the computer won't help the speed. This trick only works for workstations with large numbers of built-in ports.

Posted by: Pete Zaitcev at April 03, 2009 11:04 PM (/ppBw)

Hide Comments | Add Comment

Enclose all spoilers in spoiler tags:
      [spoiler]your spoiler here[/spoiler]
Spoilers which are not properly tagged will be ruthlessly deleted on sight.
Also, I hate unsolicited suggestions and advice. (Even when you think you're being funny.)

At Chizumatic, we take pride in being incomplete, incorrect, inconsistent, and unfair. We do all of them deliberately.

How to put links in your comment

Comments are disabled. Post is locked.
8kb generated in CPU 0.0074, elapsed 0.0145 seconds.
20 queries taking 0.009 seconds, 24 records returned.
Powered by Minx 1.1.6c-pink.