A New Dynamic PAMT Mode for TDX
summary
A new dynamic PMT tree replaces the static 16‑byte-per-4KB entry scheme for TDX with static upper levels at 1GB/2MB and on‑demand 4KB leaf pages that hold 512 PMT entries per pair of pages, so 4KB metadata is allocated only when control structures, misaligned mappings, DMA or device drivers require it. Implemented with Intel cooperation, it cuts PMT memory from ~3 GB per TB to ~2 MB per TB (98% reduction) and reports only minor benchmark performance impact.
AI-written summary · about
chapters (11)
- 0:00Introduction to confidential computing
- 0:29Evolution of TDX and metadata tax
- 4:52Dynamic PMT mode introduction
- 5:12Static PMT limitations
- 7:09Sparse memory mappings and granularity
- 8:12Dynamic PMT tree structure
- 9:38Cases requiring 4KB allocations
- 10:26Memory overhead comparison
- 11:28Performance impact of TME
- 11:50Evaluation results and reduction
- 12:32Future of confidential by default cloud
