Run the following command to find out the READ speed from buffer: $ dd if=tempfile of=/dev/null bs=1M count=1024ġ073741824 bytes (1.1 GB) copied, 0.159273 s, 6.7 GB/sĬlear the cache and accurately measure the real READ speed directly from the disk: $ sudo /sbin/sysctl -w vm.drop_caches=3 To get the real speed, we have to clear cache. The file tempfile, that has just been created by the previous command, was cached in a buffer and its read speed is much higher then the real read speed directly from the disk. Run the following command to test the WRITE speed of a disk: $ sync dd if=/dev/zero of=tempfile bs=1M count=1024 syncġ073741824 bytes (1.1 GB) copied, 3.28696 s, 327 MB/s To get the accurate read/write speed, you should repeat the below tests several times (usually 3-5) and take the average result. We also need to install and use hdparm utility for measuring the read speed of a disk on Linux Mint, Ubuntu, Debian, CentOS, RHEL. To test the read/write speed of a disk from the Linux command line using dd command. From this tutorial, we will check how to measure the input/output performance of a HDD, SSD, USB Flash Drive etc with the file system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |