Tag
Conviva's technical blog post describes an experiment where replacing mmap with io_uring in their Rust query engine resulted in slower performance under high concurrency due to page cache thrashing and page faults.
The article explores using mmap to create a magic ring buffer where two contiguous virtual memory ranges map the same physical memory, and tests its compatibility with io_uring's registered buffers, finding that it works as expected.