~/talk

IOMMU overhead optimizations and observability

Talkat Linux Plumbers Conference 2023 · 2023-11-13..11-15· [security]
links:none on file
name:Yu Zhao
links:none on file
slides:none on file

Observed IOMMU page table overhead reaches many gigabytes on real workloads; a small reproducer iova_stress cycles VA space and shows system free memory dropping. Proposed changes add IOMMUPageTables: XXX kB to /proc/meminfo, charge page table memory to the DMA owner, expose walkable IOMMU pagetables like /proc/PID/pagemap and kdump extensions, and limit empty page-table levels using refcounts, a free list and RCU-batched freeing at flush time. Also propose per-IOMMU counters and kernel selftest integration to prevent regressions.

AI-written summary · about

  1. 0:00Introduction to IOMMU issues
  2. 1:07Analyzing page table growth
  3. 5:29Proposal for page table cleanup
  4. 11:16Lockless design and scalability
  5. 17:03Performance and hardware caching
  6. 23:41Observability and accounting
  7. 34:06Memory corruption debugging
  8. 42:27Stability rules and conclusion
~/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.