On Saturday, 17 October 2015 at 08:20:33 UTC, Daniel N wrote:
On Saturday, 17 October 2015 at 08:07:57 UTC, Martin Nowak
wrote:
On Wednesday, 14 October 2015 at 07:35:49 UTC, Marco Leise
wrote:
- Data size limited by available contiguous virtual memory
Mmaping files for sequential reading is a very debatable
choice, b/c the common use case is to read a file once. You
should at least compare the numbers w/ drop_caches between
each run.
It's a sensible choice together with appropriate madvise().
Mmap is very expensive, as it affects all cores, you need a
realistic multithreaded aync benchmark on smaller files to see
the effect.