Test the speed of a USB memory drive with Linux

Published by TheJoe on

Estimated reading time: < 1 minute


This article was published more than a year ago, there may have been developments.
Please take this into account.

In today's article we deal with any USB storage media (key, disk, SD card, CF or other readable via USB) and its speed when attached to a device, whether it is a PC, una smart TV, or a camera.

There is an important premise to do: The speed does not depend exclusively on the support, but also from the USB bus and the chip of any adapters (this is. CF to USB) or from the USB port replicator, or any other passage between the motherboard and mass storage. In general it is advisable to connect the USB cradle to the ports on the rear of the PC, soldered directly on the motherboard or on a PCI card.

For information report below a table showing the speed of the support in relation to its class. Over the class is high, more the card is fast. With this method we will be able to refute or confirm the rated speed of the support.

Memory TypeClassroomMinimum Write Speed (in MB/s)
SDHC1010 MB/s

But let's cut to the chase. After connecting the device, and found its mountpoint (in our case “/dev/sdb1“) we run the following command, which will have the following response:

# hdparm -t -T /dev/sdb1

 Timing cached reads: 1868 MB in 2.00 seconds = 934.10 MB/sec
 Timing buffered disk reads: 74 MB in 3.07 seconds = 24.07 MB/sec


I keep this blog as a hobby by 2009. I am passionate about graphic, technology, software Open Source. Among my articles will be easy to find music, and some personal thoughts, but I prefer the direct line of the blog mainly to technology. For more information contact me.


Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.