~/talk

Linux Memory Management at Scale: Under the Hood

Talkat SREcon19 Asia/Pacific · on Thursday, 2019-06-13· at 14:00· Track 3: Room 334–336· [linux-and-operating-systems]
slides:none on file

Explains how PSI pressure metrics plus a user-space early-killer (IndyMD) and cgroup v2 memory.low/memory.min protection let systems preemptively kill or throttle background jobs before the kernel OOM fires, dramatically reducing recovery from minute-scale stalls to seconds; describes deploying Btrfs with swap-file support, kernel patches (queued for ~5.3) for better protection, IO-latency throttling and credit accounting, and claims these primitives run fleet-wide at Facebook and successfully isolate leaks and preserve workload latency.

AI-written summary · about

  1. 0:00Intro
  2. 1:16Overview
  3. 2:18Talk within a talk
  4. 2:37Scaling concerns
  5. 3:26Why Cgroups
  6. 7:28Priority inversions
  7. 10:02Ext4 Priority inversions
  8. 12:56Different types of memory
  9. 16:13Swap
  10. 18:59Ome Killer
  11. 22:10How does reclaim work
  12. 25:05Running out of physical memory
  13. 29:30Pre ohm detection
  14. 30:49Pop Quiz
  15. 34:43Memory Limits
  16. 37:20EveryText
  17. 40:25Base OS Layer
  18. 43:09Roles
  19. 44:59Protection
  20. 46:09Production Success
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.