Question: is mmap faster than read?
Answer: The following charts show the throughput of the read benchmark for the sequential/warm, sequential/cold, random/warm and random/cold runs. Barring few exceptions, mmap is 2–6 times faster than system calls. Let's analyze what happens in the warm experiments, since there mmap provides a more consistent improvement.