~/talk

IO and cgroups, the Current and Future Work

Talkat Vault '19 · 2019-02-25..02-26· [linux-and-operating-systems]
links:none on file
slides:none on file

Facebook deploys a kernel-layer controller that enforces per-cgroup latency targets by delaying requests before they become hardware outstanding, uses blk_iolatency plus a user-space replacer for the OOM killer called OMD, and adds a proportional mode called IO.weight. It prevents IO-driven memory thrash (unprotected boxes take ~50 minutes to recover, protected ones recover across repeated stress runs in minutes), sacrifices about ~10% bandwidth worst case, delays throttling to avoid lock inversions, and avoids ext4 ordered-mode priority inversions by moving to btrfs.

AI-written summary · about

  1. 0:00Intro
  2. 0:31Why do we need a io controller?
  3. 1:09Background
  4. 2:19The io stack (multi-queue)
  5. 4:41Challenges and solutions
  6. 8:30Memory leak on spinning rust
  7. 10:18Memory leak on SSD
  8. 11:0010 storm with tar on spinning rust
  9. 11:50Fbtax2 slices
  10. 13:04Fbtax2 components
  11. 13:59io.weight
~/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.