Home Linux Community Forums Hardware Storage Troubleshooting, limit speed of USB3 device on USB2 computer.

Troubleshooting, limit speed of USB3 device on USB2 computer.

Link to this post 22 Jan 12

There is also the mount settings. Mostly, USB/SD devices are mounted with the flush option. As a result, the buffered data is flushed to device more frequently, resulting in the "stuttering" behavior you are seeing. I experience this myself when copying big data sets to flash devices. Personally, I don't think there is much you can do about it. Flash discs on the other hand, have controllers that help level the I/O, especially when writing to disc/device.

Link to this post 22 Jan 12

Finally, I have several 32GB class 10 SD cards, and when I start to copy a large data set to them, they run incredibly fast! After awhile, they start to exhibit the behavior you are seeing, leveling out at about 100mbps (mega bits, not bytes per second), 12.5MBps. If I copy a smaller (but still sizable) data set, that will fit into cache, the copy is immediate, but then I notice that the device is still busy as the system flushes the cache. I think the lesson here is "Don't believe everything you see!"... or think you see. :-)

Link to this post 15 Mar 12

[Possibly closer to a solution]

For the fun of it I made a RAID0 volume of two 15GB partitions both on the 32GB USB3 memorystick. ( Use mdadm ). This seems to have solved the speed problem. I got a mean speed of 31MB/s write and 35MB/s read on the USB2 port. The file was over 4GB.

Any thoughts why?

Link to this post 16 Mar 12

There are a lot of factors at play here - the amount of RAM in your system that can be used as cache, the type of device (class 2...10), the interface (USB 3.0 in this case, assuming the system also has a USB 3.0 port), how new the device is, ... Try writing not 4GB, but 10+ GB to the device, and then run the sync command and see how long it takes before it finishes. THAT is the salient factor here. Even in your example, write 4GB, and then run sync and see how long it takes to finish flushing the data to the device so that it is removable.

Link to this post 16 Mar 12

I did the same tests with a 11.5GB file. RAID0 was not necessary, an ordinary volume with FAT or NTFS got the same results. Due to some update? I don't know. However the transfer of 1000+ music or image files were crippled, below 5MB/s. I don't have USB3 on this computer. Could you check the average speed you get when copying a folder with 1000+ images.

Because of the many problems with flash memory sticks I wonder if its not better to abandon them as a recommended portable storage for larger devices. Now that we have SSD that are dropping in price couldn't we just buy SSD's in the form of a memory stick?

I kind of liked but haven't tested those dual eSata/USB interface SSD that looks like memory sticks. If they perform well and get cheaper we could easily spread the use of Linux through teaching a detachable dualboot configuration.

Link to this post 16 Mar 12

Searched around a little and found the Supertalent USB 3.0 Express RC8. It has a SSD controller. Im happy to see that they also posted the USB2 benchmark. It seem to max out the USB2 port at over 35 MB/s even for small files which is what I wanted in the first place. So I guess you need to select more carefully among the cheap memorysticks even if you only have a USB2 port.

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Linux Training / Board

/** BC-056 Ameex changes to add tracking code - 2016-01-22 **/ ?>