Benchmarking of USB flash drive
Solution 1
Use built-in program disks
from ubuntu launcher, select your pendrive, click on gear icon, and select benchmark
option to run read/write speed test
Solution 2
I know it's a bit old of a post but! You could try the following:
sudo hdparm -Tt /dev/sd
I've used this on multiple occasions with good success. Nice and easy. Not to mention built in.
You could also use the dd
command:
dd if=/dev/zero of=./largefile bs=8k count=10000
I'd recommend reviewing the link below though for using the dd
command for testing. This is what I've referenced before for testing with dd.
http://www.binarytides.com/linux-test-drive-speed/
It talks about how you have to adjust the bs
option depending on the size of the USB you are testing.
Related videos on Youtube
![Admin](/assets/logo_square_200-5d0d61d6853298bd2a4fe063103715b4daf2819fc21225efa21dfb93e61952ea.png)
Admin
Updated on September 18, 2022Comments
-
Admin almost 2 years
I will appreciate if you can tell me some tools for ubuntu 14.04 LTS, that can measure transfer speed of USB flash drive. I need two or more programs to compare the results and if I can choose the size of the file that would be great.
-
Motsel over 4 years
apt install gnome-disk-utility
-
Feriman almost 4 yearsIf " hdparm: command not found", install it by run "apt update && apt install hdparm -y"
-
Mark Jeronimus over 3 yearsOk i had
hdparm
installed stock, but it doesn't seem to be able to benchmark anything other than read, and for USB sticks write is the most important and deciding parameter. -
Mark Jeronimus over 3 yearsIn more recent versions, the option is called "Benchmark Partition..."
-
Zuntaruk about 3 years@MarkJeronimus I believe that's where the example of dd will prove useful and should also come stock on most distributions.