计算机科学 > 性能
[提交于 2026年7月16日]
标题:Campaign Diagrams: Visualizing the March Through the Phases of a Workload
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Toluwanimi Odemuyiwa[v1] 2026年7月16日 星期四 17:28:39 UTC (1,221 KB)