MEGA Hub

Campaign Diagrams: Visualizing the March Through the Phases of a Workload

Authors

Do you know Toluwanimi O. Odemuyiwa?You can claim authorship or link another user.Do you know John D. Owens?You can claim authorship or link another user.Do you know Michael Pellauer?You can claim authorship or link another user.Do you know Joel S. Emer?You can claim authorship or link another user.

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.

Community

00

Publication notes

Author note
12 pages, 13 figures