~/talk

Refining Data Structure Implementations in the Linux Kernel for Improve..

Talkat LinuxCon @ OSS NA 2024 · 2024-04-16..04-18· [linux-and-operating-systems]
name:Jim Huang
github:jserv
links:none on file
slides:none on file

Introduces concrete kernel patches: a bottom-up sift-down heap cuts comparisons by about 50% on large heaps by finding a leaf path then sifting up, keeping swap count similar; a double-pop heap variant pops two elements per iteration, roughly halving swaps while keeping comparisons near the same and is slated to be included in Linux 6.9; heap sort tweaks reduce work on many-equal keys and random data, and experiments with u32-generated arrays show the claimed savings; library code lacks comprehensive tests, causing some benchmarks to be hard to reproduce.

AI-written summary · about

  1. 0:00Introduction
  2. 0:54Data Structure
  3. 4:05Mean Heap Optimization
  4. 7:18Sort Optimization
  5. 11:59Double Pop Optimization
  6. 18:02Linux Kernel Library Code
  7. 20:45Data Structure Implementations
  8. 22:38Conclusion
~/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.