~/talk

Tokio’s New io_uring-Based File I/O

Talkat TokioConf 2026 · 2026-04-20..04-22· [rust]
slides:none on file

Tokio exposes an experimental io_uring backend for tokio::fs behind a feature flag (since 1.48) that switches tokio::fs to an io_uring backend and leaves existing code unchanged; it registers the io_uring FD with epoll so the runtime uses both mechanisms. Cancel safety is handled by retaining buffers until the kernel signals completion, avoiding use‑after‑free. Benchmarks show typical speedups but slowdowns with heavy short ops and many threads because a single io_uring instance creates mutex contention around ~100 threads. Future work includes public io_uring APIs and network support.

AI-written summary · about

  1. 0:00Tokio’s io_uring support
  2. 1:40io_uring status and implementation
  3. 5:14Implementation caveats and resource management
  4. 9:09Performance vs thread pool
  5. 11:19Future work and improvements
  6. 15:21Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.