3 ms·
Explanation concludes readahead is the reason that 128KB buffer is fastest on the benchmark, while the benchmark uses /dev/zero and /dev/null which don't have r
by ars 10y ago
Explanation concludes readahead is the reason that 128KB buffer is fastest on the benchmark, while the benchmark uses /dev/zero and /dev/null which don't have readahead.
You need to redo this article using actual reads and writes. Try it with both a quiet machine and a semi-busy one.
- Scaevolus 10y agoI suspect this has more to do with the balance between L2 cache sizes and syscall overhead than anything else. Dumping nothing into nothing at 40GB/s is unacceptable, I need it to be 60GB/s! With actual I/O devices the difference should be negligible. Sequential reads and writes are well optimized at every level, from the CPU to the HDD.