~/talk

Launching new processes with `io_uring_spawn` for fast builds

slides:none on file

An io_uring extension implements io_uring_spawn by adding clone+exec ops that run linked setup operations entirely in-kernel so no fork copy or user-space wrappers are needed; benchmarks report a fork baseline of 52 μs, touching every page makes fork ~7.5 ms, and the new approach is 6–10% faster than vfork and 31–36% faster than posix_spawn. Prototype uses linked SQEs for path-search and dup/close actions, works in multithreaded programs, and targets upstream.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:27Fork and exec process launch
  3. 3:14Benchmarking process launch speed
  4. 4:38Problems with fork and vfork
  5. 6:22Posix spawn limitations
  6. 10:39Why process copies are needed
  7. 11:01Introduction to io_uring
  8. 12:47io_uring_spawn proposal
  9. 17:24Advantages over fork and spawn
  10. 18:48Code example and simplicity
  11. 19:08Performance results
  12. 20:11Future optimizations and plans
  13. 21:58Alternative faster method today
  14. 23:24Acknowledgments and thanks
  15. 24:07Q&A session
~/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.