hi! How can i test usb flash speed (write/read) in linux ?
hi! How can i test usb flash speed (write/read) in linux ?
Don't know about write speed, but you can test read speed like this:
Use this command to determine the device address of your drive:
Then issue:Code:sudo fdisk -l
replacing /dev/sda1 with the address of the flash drive.Code:sudo hdparm -t /dev/sda1
Edit: If the drive is empty, you can use Disk Utility (installed by default) to Benchmark the drive.
Edit 2: "Empty" as in absolutely nothing on the drive, including partition table. This can be achieved with Disk Utility, as well.
Last edited by newb85; November 15th, 2012 at 01:14 PM.
Jane, stop this crazy thing!
thank you i will try
it doesn`t work or maybe i can`t do it ... first i open console with ctrl +alt +f1 than i write
( /media/traxdata -adress of the flash drive)...Code:sudo fdisk -l sudo hdparm -t /dev/media/traxdata
i found code for write test but i dont know how to work with this code ...
Create a file system, if necessary:
Test:Code:$ sudo mkfs.vfat /dev/sdb1
Code:$ sudo mount /dev/sdb1 /media/misc $ sudo dd count=100 bs=1M if=/dev/zero of=/media/misc/testfile.raw oflag=sync
Last edited by temida; November 17th, 2012 at 02:43 PM.
Instead of
you should have usedCode:sudo hdparm -t /dev/media/traxdata
As a side note, when you are posting terminal commands or output, you should highlight it in the post composition frame and click the "#" button above the frame to wrap it in [CODE] tags. It makes posts more readable.Code:sudo hdparm -t /media/traxdata
Jane, stop this crazy thing!
Copy a one gig file to the flash drive, how long did that take?
Copy a one gig file from the flash drive, how long did that take?
Divide one thousand by your answers and that will give the write and read speeds in MB/s .
I made a detailed blog post regarding this topic:
http://kernelreloaded.blog385.com/in...mory-on-linux/
Bookmarks