~/talk

Memory Page-pooling with Auto Refill Feature for Improved Memory Allocati...

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

Kernel adds kthread auto-refill that wakes when a pool falls below a fill/low watermark and asynchronously allocates pages (order-9 2MB, order-4 16KB, order-0 4KB) into pools, with aggressive watermark checks to avoid ping‑pong and shrinkers reclaim pool memory under pressure. Implemented in dma-buf system_heap on Qualcomm (defaults: 100 MB fill, 40 MB low across six pools ≈600 MB). Measured effects: pool utilization up ~90%, average allocation latency drops ~2.5%, and app kills (LMKD/Android) fall up to ~40%.

AI-written summary · about

  1. 0:00Introduction
  2. 1:03Memory page pooling limits
  3. 6:25Motivation for auto refill
  4. 11:43Shrinkers and memory pools
  5. 14:112 MB block mappings in ARM64
  6. 17:01Refill thread priorities
  7. 18:06Pool fill and low watermarks
  8. 19:51Qualcomm DMA buffer system
  9. 22:23Performance gains and latency
  10. 24:56Pros and cons of auto refill
  11. 27:01Use cases for memory pooling
  12. 28:47Software-only improvements and future
  13. 33:21Q&A: Upstreaming plans
  14. 34:51Q&A: Generic memory frameworks
  15. 36:43Q&A: Linux MM upstreaming
~/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.