3 ms·
For some perspective: cat /dev/sda | pv > /dev/null Reads 188MB/s on my new Thinkpad's Samsung SSD
by mhansen 16y ago
For some perspective:
cat /dev/sda | pv > /dev/null
Reads 188MB/s on my new Thinkpad's Samsung SSD
- mrb 16y agocat'ing and piping into pv is a poor way to benchmark as the CPU overhead is too high (the buffer size for a pipe kernel object is 4kB, forcing a high number of context switches). Try "dd bs=32k </dev/sda >/dev/zero" and monitor with "iostat -m 1", you will see a higher throughput.