Grimoire-
Command
.es

GNU+Linux command memo

Test RAM reading speed

Tester la vitesse de lecture de la mémoire RAM

# hdparm -T /dev/sda

Example output:

/dev/sda:
Timing cached reads: 14480 MB in 2.00 seconds = 7257.39 MB/sec
$ man hdparm
[…]
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 indica‐ tion of the throughput of the processor, cache, and memory of the system under test.