~/talk

TypeCraft: A Lightweight Data Type Profiler with High Resolution

links:none on file
name:Xu Liu
links:none on file
links:none on file
links:none on file
links:none on file
name:Jiajia Li
links:none on file
slides:none on file

TypeCraft maps individual memory instructions in optimized x86 C binaries to structs and fields by combining DWARF-based type resolution with a function-scoped binary dataflow analysis, and integrates into Linux perf with zero added online overhead. Coverage rises from ~75% to ~92% (cycle-weighted ≈90%), with offline runtime seconds for user programs and ~1–2 hours per kernel binary. Applied to Linux, field reordering cuts one benchmark's LLC misses by 26.4%; an allocator fix adds 33% more, totaling ~50% fewer kernel LLC misses, up to 1.8% MySQL TPS gain and +0.5% throughput / −0.5% RAM in production; patches land in Linux 7.0/7.2.

AI-written summary · about

  1. 0:00TypeCraft introduction
  2. 1:47Sampling profiler limits
  3. 3:11TypeCraft with perf
  4. 5:43DWARF dual resolution
  5. 6:47Static data flow analysis
  6. 8:38Pointer conflicts and arithmetic
  7. 10:04Instruction coverage evaluation
  8. 11:10Linux CFS case study
  9. 12:58Pointer indirection optimizations
  10. 14:00Production workload impact
  11. 14:45Takeaways and future
~/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.