> posix_fadvise() should probably be used for large files to tell the
> system not to cache the data. Its man page reminded me of the O_DIRECT
> flag. Certainly if the combined size exceeds the size of main memory,
> O_DIRECT would be good (even for benchmarks that cmp the same files :-).
> But cmp
On Sun, 15 Jan 2012, Dieter BSD wrote:
posix_fadvise() should probably be used for large files to tell the
system not to cache the data. Its man page reminded me of the O_DIRECT
flag. Certainly if the combined size exceeds the size of main memory,
O_DIRECT would be good (even for benchmarks that