C.A.T.S.: Memory and Control Flow Tracing for Whole-Program Performance Analysis
Philipp Schaad, Tal Ben-Nun, Torsten Hoefler
摘要
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.
问问这篇 Paper
问问你的智能体。
Lune 读过与它相关的顶会 Paper,每个回答都会注明依据哪几篇。
相关 Paper
- Boosting Performance Optimization with Interactive Data Movement VisualizationPhilipp Schaad, Tal Ben-Nun, Torsten HoeflerSC 2022 · 被引用 3 次
- TraceFlow: Efficient Trace Analysis for Large-Scale Parallel Applications via Interaction Pattern-Aware Trace DistributionYuyang Jin, Xirui Shui, Mingshu Zhai, Zan Zong 等SC 2025 · 被引用 3 次
- Traveler: Navigating Task Parallel Traces for Performance AnalysisSayef Azad Sakin, Alex Bigelow, R. Tohid, Connor Scully-Allison 等IEEE VIS 2022 · 被引用 10 次
- ScalAna: automating scaling loss detection with graph analysisYuyang Jin, Haojie Wang, Teng Yu, Xiongchao Tang 等SC 2020 · 被引用 16 次
- CcNav: Understanding Compiler Optimizations in Binary CodeSabin Devkota, Pascal Aschwanden, Adam Kunen, Matthew P. LeGendre 等IEEE VIS 2020 · 被引用 34 次
