~/talk

Rusty Swapping: Rewriting a Zswap Backend in Rust

Talkat LinuxCon @ OSS EU 2024 · on Tuesday, 2024-09-17· at 11:00· Hall M1 (Level 1)· [rust, linux-and-operating-systems]
links:none on file
slides:none on file

Rewrites the zswap backend Zblock in Rust, registers it with the kernel and runs side‑by‑side comparisons against C Zblock, zsm and zbd. Uses specific Rust toolchain versions and bindgen hacks to map kernel structs; builds for x86_64 and arm64 (32‑bit ARM is unsupported so Rust variant is disqualified for mainline). Rust Zblock produces smaller stripped objects, matches or exceeds load/read latency in some traces but is slower on store paths than the C build; keeps unsafe regions minimal for safety.

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.