Hard drive speed test using Linux command line and hdparm
- I will use
/dev/sdc
as our testing block device.
Note that all tests should be run multiple times and average time should be calculated to get more accurate result.
[crayon-6623559178c52840665531/]
Bypassing hard drive’s buffer cache memory thus reading directly from the disk.
[crayon-6623559178c5e006858154/]
Read data from the second half of the disk that is if the hard drive size is 100GB.
[crayon-6623559178c60975155530/]
To obtain cached reads run the following command:
[crayon-6623559178c62866746618/]
[crayon-6623559178c52840665531/]
Bypassing hard drive’s buffer cache memory thus reading directly from the disk.
[crayon-6623559178c5e006858154/]
Read data from the second half of the disk that is if the hard drive size is 100GB.
[crayon-6623559178c60975155530/]
To obtain cached reads run the following command:
[crayon-6623559178c62866746618/]