Hard drive speed test using Linux command line and hdparm
- I will use
/dev/sdcas 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-69399383c2ed3582327012/]
Bypassing hard drive’s buffer cache memory thus reading directly from the disk.
[crayon-69399383c2eda941567231/]
Read data from the second half of the disk that is if the hard drive size is 100GB.
[crayon-69399383c2edc852612324/]
To obtain cached reads run the following command:
[crayon-69399383c2ede292979818/]
[crayon-69399383c2ed3582327012/]
Bypassing hard drive’s buffer cache memory thus reading directly from the disk.
[crayon-69399383c2eda941567231/]
Read data from the second half of the disk that is if the hard drive size is 100GB.
[crayon-69399383c2edc852612324/]
To obtain cached reads run the following command:
[crayon-69399383c2ede292979818/]