Campaign Diagrams: Visualizing the March Through the Phases of a Workload
Toluwanimi O. Odemuyiwa, John D. Owens, Michael Pellauer, Joel S. Emer
Abstract
We present campaign diagrams, a visualization technique for phase-level analysis of resource utilization and bottlenecks in modern workloads. Existing tools have a trade-off: rooflines aggregate a workload into a single point and lose all notion of time, while profilers and traces expose fine-grained events but obscure what bounds performance. Instead, a campaign diagram depicts compute throughput and memory bandwidth utilization, compute and memory traffic volume, and latency in a single figure. Since they can be generated from analytical models, simulations, or profiling data, campaign diagrams capture both ideal bounds and a kernel's achieved performance. We demonstrate them on two case studies: a low-rank GEMM, where they reveal the counterintuitive result that reducing operational intensity can improve end-to-end performance, and Mamba, where they expose fusion and pipelining opportunities across phases. In both cases, our visualization technique reveals optimization opportunities that are difficult to identify with rooflines or profilers alone.
Create a lesson
Metadata
- Categories
- cs.PF, cs.AR
- Comments
- 12 pages, 13 figures
Related papers
Control-Flow Profiling for Workload Representativeness
Shared title terminologycs.PFMahesh Madhav
LLMRunner: Closed Workload Model Performance Testing Framework for LLM Servings
Shared title terminologycs.PFArush Upadhyaya, Debadatta Mishra
Discrete Phase-Shift Optimization of Reconfigurable Intelligent Surfaces using Uniform Reference Directions
Shared title terminologycs.PFPavithra P., Manoj Kumar Panda, Chandramani Singh
Characterization of Request and Token Energy Costs for LLM Inference Workloads on GPU Platforms
Shared title terminologycs.PFPrabhu Vellaisamy, Vanessa Lam, Shawn Blanton et al.
Aneto: Predicting System Performance by Exploiting Cross-Workload Regularity
Shared title terminologycs.PFRaul Taranco, Rene Mueller, Michael Giardino
Load balancing in parallel infinite-server queues with action delay via phase representation
Shared title terminologycs.PFKazuma Abe, Tuan Phung-Duc