~/talk

Rusty Swapping: Rewriting a Zswap Backend in Rust

Talkat Open Source Summit Europe 2024 · 2024-09-16..09-18· [rust]
links:none on file
slides:none on file

A Zswap backend (zblock) is reimplemented in Rust, registered via kernel stubs, and bench‑marked against the original C zblock, zsm and zbd. Build requires specific Rust compiler and bindgen versions and early kernels lack arm32 support (arm64 merged in 6.9), which blocks mainline submission. Rust output often has a smaller binary size when stripped, shows faster page load but slower page store than the C zblock, has slightly longer compile time, uses fewer unsafe regions, and otherwise works reasonably well.

AI-written summary · about

  1. 0:00Introduction
  2. 1:48Consulo group's Linux kernel work
  3. 5:45Zswap and allocators overview
  4. 8:40Zblock allocator details
  5. 13:22Rust for kernel development
  6. 16:37Rust in Linux kernel setup
  7. 19:51Rust kernel challenges
  8. 22:01Rewriting Zblock in Rust
  9. 25:37Rust atomics and locks
  10. 27:01C versus Rust performance
  11. 30:42Testing Rust Zblock
  12. 31:26Summary and future
  13. 33:55Q&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.