-
Why mmap is faster than system calls
Why mmap is faster than system calls
When I ask my colleagues why mmap is faster than system calls, the answer is inevitably “system call overhead”: the cost of crossing the boundary between the user space and the kernel. It turns out that this overhead is more nuanced than I used to think, so let’s look under the hood to understand the performance differences.
Appears in lists (1)
More like this (3)
-
But How, Exactly, Do Databases Use mmap?
In a previous post Discovering and exploring mmap using Go, we talked about how databases have...
-
Discovering and exploring mmap using Go
Discovering and Exploring mmap using Go — mmap is a system call for mapping files into...
-
Why mmap is faster than system calls – by Alexandra (Sasha) Fedorova
When I ask my colleagues why mmap is faster than system calls, the answer is inevitably...