~/talk

GMEM: Generalized OS Memory Management for Accelerators

name:Weixi Zhu
links:none on file
slides:none on file

GMEM changes Linux MM to let drivers register hardware-specific mmu functions while the OS handles allocation and mapping, providing a unified virtual address space and transparent memory oversubscription. Implemented on openEuler, it borrows FreeBSD’s VM object for a logical page table and adds async prefetch/hinting. Results: malloc latency in a PyTorch path is ~3x faster, Redis/GCC show <1% overhead, a protein-folding workload increases usable HBM problem size by 25%, and driver MM code shrinks from 30k→30 lines (90% reduction).

AI-written summary · about

  1. 0:00GMEM introduction
  2. 2:12AI memory challenges
  3. 6:07GMEM design motivation
  4. 7:34OS managing accelerator memory
  5. 9:00Current memory limits
  6. 10:27GMEM core principles
  7. 11:51Why not Linux HMM
  8. 13:18Cache-coherent bus limits
  9. 15:49GMEM implementation
  10. 17:36GMEM key features
  11. 18:18Programmability improvements
  12. 21:54GMEM performance impact
  13. 22:56Reducing driver bloat
  14. 23:40Solving memory fragmentation
  15. 24:23Enhancing large language model inference
  16. 24:46Memory over-subscription
  17. 25:29Conclusion and future
  18. 26:57Q&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.