Overview
Syllabus
Intro
normally reducing malloc cycles is good
business logic changes, infrastructure does not
malloc cycles do not matter. $$$ spent on hardware matter.
most cpu cycles do nothing
hugepages cheapen the page table walk
hugepages make the TLB bigger!
space efficient hugepage aware allocators are hard
demand oscillates wildly
emptying density - binpacking
mistakes can live forever
tcmalloc structure
spans back everything
change nothing but the page heap
Temeraire: the design
slack and donation
how does the HugeFiller make decisions?
HugeFiller tracks metadata per hugepage
we favor fragmentation over fullness
results
staged rollout
saved -1.3% of cycles
saving memory in the process
virtuous cycles: hugepage coverage
Taught by
USENIX