I'm getting only 30MB/sec between my computer and a USB drive, despite the fact that USB 2.0 supports 480Mb/sec (or 60MB/sec) transfers. (Therefore, I'm only getting half the rated speed) Is there something present in the USB standard which should result in such half apparent speeds?
USB 2 uses 1 millisecond frames, and in High Speed (480 Mb/s) mode they are divided into 8 micro-frames. The maximum size of bulk packets (used by USB mass storage devices) is 512 bytes. According to this very informative document the theoretical maximum is 13 packets per microframe. So the theoretical maximum speed of a USB 2 drive is:
1000 * 8 * 512 * 13 = 53248000 ~= 53 MB/s
This other document from Cypress says near the end that they actually acheive 43 MB/s.
In practice the limit will usually be the flash itself.
Edit: This information is actually also in the USB 2 spec.
Your flash drive is the bottleneck. They can't reach the 60 MB/s theoretical maximum. Here's an excerpt from Wikipedia:
Modern flash drives have USB 2.0 connectivity. However, they do not currently use the full 480 Mbit/s (60MB/s) which the USB 2.0 Hi-Speed specification supports because of technical limitations inherent in NAND flash. The fastest drives currently available use a dual channel controller, although they still fall considerably short of the transfer rate possible from a current generation hard disk, or the maximum high speed USB throughput. (...)
Typical fast drives claim to read at up to 30 megabytes/s (MB/s) and write at about half that speed. This is about 20 times faster than USB 1.1 "full speed" devices which are limited to a maximum speed of 12 Mbit/s (1.5 MB/s).
Around 30 MB/sec is quite typical maximum transfer speed.
USB 1.0 and USB 2.0 connections are half-duplex, meaning data flows in only one direction at a time. Shared connection between both directions is probably biggest reason for slowdown than expected transfer speed.
In comparison, USB 3 and Ethernet are full duplex and do meet expected transfer speeds better.
In my machine, an USB2 flash drive speed never exceeds 33 MB/s in test application, even though Windows reported 33-37 MB/s speed. I did some testing and enabled disk cache (device properties) and increased usb max transfer size to 2 MB (KB2581464) but could not make it any faster.
The USB 2.0 interface can be a limit due to signalling and command overhead as well as spacing between packets.
I have a fast SSD connected by USB 2.0. The drive is much faster than the interface (by more a factor of 10).
Read Speed maxes out around 33 MB/s and Write Speed at 17.5 MB/s. Write Speeds are almost 50% slower due to a verify-read after the write and the fact that the USB signal is half-duplex as another answer mentions.
With an iMac mid-2007 and one Verbatim USB2 disk transferring data to a FW800 drive I get 36-37 MB/s. It's already very good for USB2.
If I add a second transfer from another USB2 disk (Packard Bell) connected to the same USB2 hub to the same FW800 drive, the combined transfer rate increases to 42 MB/s. This is exceptional and it's the highest transfer rate I have ever seen on USB2.
More than 35-40 MB/s on USB2.0 is practically impossible and I was already dedicating a USB2 controller only for those disks, no mouse or other devices interfering.
USB 2.0 supports 480 Mb/s signaling speed. On the Wikipedia page, it says effective throughput is up to 35 MB/s. There is a disparity because bits aren't usually transmitted between devices in the same way that they are represented internally. A number of factors needs to be accounted for when transmitting data between devices, like electromagnetic interference.
The link above is an example of an encoding scheme. It is used by USB 3.0.
I have never really thought much about calculating the speed, but clearly there is real overhead associated with this kind of transfer. I searched on Google and found post after post with speeds as you described, making me thing you are on to something.
I just whipped out a USB 2.0 1TB Seagate external drive, formated it, and decided to copy a sampling large enough to test with: 13,595,211,905 bytes (about 12GBs). I am running Symantec Endpoint Protection AV.
According to this calculator, it should have taken only 3:46 minutes to copy with 0% overhead, but it actually took 9:17, and my speed dropped to 23.9 MB/sec actually.
I then rebooted (to clear the memory), and tried it without my AV running and it still took 9:15, or only 2 seconds less (I guess that is good news for Symantec AV at least).
It would appear that those really are "theoretical numbers".
This post is a bit old, so not sure if this is still relevant or helpful, but USB 2 speeds normally max out at 280Mbps (35MBps) due to bus access.
Taken from Wiki:
USB 2.0 was released in April 2000, adding a higher maximum signaling rate of >480 Mbit/s called High Speed, in addition to the USB 1.x Full Speed signaling >rate of 12 Mbit/s. Due to bus access constraints, the effective throughput of >the High Speed signaling rate is limited to 35 MB/s or 280 Mbit/s.
Hope that clears it up...
Any chain is only as strong as its weakest link. The potentially weak transfer performance when using USB2 devices include everything from the host controller firmware, driver software, physical cables used (shorter and thicker may be slightly better?) and probably most importantly the actual connected devices themselves and any firmware, flash/cache chips and most definitely spinning disk performance, a well known bandwidth bottleneck.
Check in logical order of available I/O bandwidth - Processor/controller performance / L1/L2 Cache DRAM performance / firmware / flash storage chip performance then by an order of magnitude slow spinning disk storage performance.
Stated theoretical maximum performance (480 megaBITs or 60 megabytes per second) is only for the bus not things connected to it and quite often the actual observed performance is much lower.
The 5400 rpm hard disc drives with USB2 are limited by the drive hardware and the SATA controller. Even 7200 rpm or 10,000 rpm drives in a good USB caddy aren't really up to much. You need an SSD to reach the USB2 limit. Most of the "lost bandwidth" is actually controller latency, where it just takes time to turn around from writing the data to sending the completion signal.
protected by bwDraco Jan 5 at 3:25
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?