2 ms·
A couple things to consider when benchmarking RAM file I/O verses disk-based file system I/O. 1 - Programs such as wc (or jq) do sequential reads, which benefi
by AdieuToLogic 1y ago
A couple things to consider when benchmarking RAM file I/O verses disk-based file system I/O.
1 - Programs such as wc (or jq) do sequential reads, which benefit from file systems optimistically prefetching contents in order to reduce read delays.
2 - Check to see if file access time tracking is enabled for the disk-based file system (see mount(8)). This may explain some of the 20% difference.