Test the speed of a USB memory drive with Linux
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 Type||Classroom||Minimum Write Speed (in 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 /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