SC2025Top-tier venue
C.A.T.S.: Memory and Control Flow Tracing for Whole-Program Performance Analysis
Philipp Schaad, Tal Ben-Nun, Torsten Hoefler
Abstract
Performance engineering often involves localized, bottleneck-based optimization, supported by a plethora of tools. When no apparent bottlenecks exist, engineers resort to coarser whole-program optimization, consisting of data layout, sparsity, allocation strategy, and algorithmic modifications, to name a few. In this work, we aim to codify whole-program optimization by providing three global views based on a single tracing format. The format, called C.A.T.S., captures information necessary for static and runtime analysis of large applications. Instead of call stacks and function annotations, C.A.T.S. uses control flow stacks and memory events to identify common performance anti-patterns and potential optimizations. We develop interactive timeline, dataflow, and access visualizations, and implement compiler analysis passes to extract C.A.T.S. traces statically and in seconds on consumer hardware. The visualizations and analyses are demonstrated on case studies including sparse computations, hydrodynamics and climate modeling, yielding 3 × memory footprint reduction, improvements in communication-computation overlap, code fusion, and data layouts.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get e005e2f5-7a77-44e6-9cf6-c7d5e6a958dbRelated papers
- Boosting Performance Optimization with Interactive Data Movement VisualizationPhilipp Schaad, Tal Ben-Nun, Torsten HoeflerSC 2022 · 3 citations
- TraceFlow: Efficient Trace Analysis for Large-Scale Parallel Applications via Interaction Pattern-Aware Trace DistributionYuyang Jin, Xirui Shui, Mingshu Zhai, Zan Zong et al.SC 2025 · 3 citations
- Traveler: Navigating Task Parallel Traces for Performance AnalysisSayef Azad Sakin, Alex Bigelow, R. Tohid, Connor Scully-Allison et al.IEEE VIS 2022 · 10 citations
- ScalAna: automating scaling loss detection with graph analysisYuyang Jin, Haojie Wang, Teng Yu, Xiongchao Tang et al.SC 2020 · 16 citations
- CcNav: Understanding Compiler Optimizations in Binary CodeSabin Devkota, Pascal Aschwanden, Adam Kunen, Matthew P. LeGendre et al.IEEE VIS 2020 · 34 citations
