Hello,
You indicated 'without the cache', so reading from the man page of hdparm:
Quote:
-t Perform timings of device reads for benchmark and comparison purposes. For meaningful results, this operation should be repeated 2-3 times on an
otherwise inactive system (no other active processes) with at least a couple of megabytes of free memory. This displays the speed of reading
through the buffer cache to the disk without any prior caching of data. This measurement is an indication of how fast the drive can sustain sequen‐
tial data reads under Linux, without any filesystem overhead. To ensure accurate measurements, the buffer cache is flushed during the processing of
-t using the BLKFLSBUF ioctl.
-T Perform timings of cache reads for benchmark and comparison purposes. For meaningful results, this operation should be repeated 2-3 times on an
otherwise inactive system (no other active processes) with at least a couple of megabytes of free memory. This displays the speed of reading
directly from the Linux buffer cache without disk access. This measurement is essentially an indication of the throughput of the processor, cache,
and memory of the system under test.
|
Which indicates the use of -T as being used to test cache without disk access, I'd suppress that one and stick with -t for the device access.
Also, as indicated in the man page, run the command two or three times and calculate the average speed from the results.
Another tool you could use is iostat (man iostat, install sysstat package if you don't have the command) and/or
bonnie++ as a benchmarking program.
Kind regards,
Eric