Conviva

We swapped mmap for io_uring and got 60% slower

Cover art for We swapped mmap for io_uring and got 60% slower

TL;DR: Bypassing the page cache only helps if the rest of your stack stops making the kernel manage memory for you, and a layer doing five jobs at once hides exactly that. A Rust query engine ditched mmap to escape page-cache thrashing, then watched io_uring lose badly to the thing it replaced.

Melissa PieroniSep 1, 2026

From · · · 4m

TL;DR: We swapped mmap for io_uring and got 60% slower

A Rust query engine ditched mmap to escape page-cache thrashing, then watched io_uring lose badly to the thing it replaced.

Bypassing the page cache only helps if the rest of your stack stops making the kernel manage memory for you, and a layer doing five jobs at once hides exactly that. A Rust query engine ditched mmap to escape page-cache thrashing, then watched io_uring lose badly to the thing it replaced.

  • mmap was the obvious choice
  • Trillions of events a day
  • The box was not the limit
  • Then concurrency hit

Read the story version — the same reporting as a swipeable deck of 20 cards.

Read the original on Conviva

How we make summaries

React

Sign in to react and comment.

Comments (0)

Life is short. Keep it sweet. Respect others' opinions and be kind!

    Recommended next

    More decks on io_uring and related topics.