How to Read a GPU Roofline Chart: Use Ceilings and the Achieved Point to Diagnose Bottlenecks
A Roofline chart plots a GPU kernel’s arithmetic intensity and achieved performance against memory-bandwidth and compute-throughput ceilings. The achieved point helps you form a hypothesis about the limiting resource; it is not a performance guarantee or a diagnosis by itself. Choose a roofline that matches the kernel’s instruction path and memory level, then check profiler counters and actual runtime.
How to Read a GPU Roofline Chart: Use Ceilings and the Achieved Point to Diagnose Bottlenecks
A Roofline chart plots a GPU kernel’s arithmetic intensity and achieved performance against memory-bandwidth and compute-throughput ceilings. The achieved point helps you form a hypothesis about the limiting resource; it is not a performance guarantee or a diagnosis by itself. Choose a roofline that matches the kernel’s instruction path and memory level, then check profiler counters and actual runtime.
Axes and the basic ceilings
The horizontal axis is arithmetic intensity: operations (FLOP) per byte moved across a selected memory boundary. The vertical axis is floating-point operations per second (FLOP/s). In the basic model, achievable throughput is limited by the lower of the compute peak and bandwidth multiplied by arithmetic intensity. The original Roofline paper presents this bound-and-bottleneck view as a visual model for understanding program limits, not as a perfect predictor. Williams, Waterman, and Patterson, original Roofline paper
The drawing below is a conceptual schematic. It contains no real units, tick values, or measurements.
Figure 1. The sloped line is the memory-bandwidth ceiling; the horizontal line is the compute-throughput ceiling. Their intersection is the ridge point. The purple marker is an illustrative achieved point in the memory-limited region, not a GPU measurement.
The slope reflects the selected memory boundary’s bandwidth, and the flat segment reflects the selected compute path’s peak throughput. The ridge point marks the transition between the memory-limited and compute-limited regions. Nsight Compute plots the profiled kernel’s achieved value against these ceilings. NVIDIA Nsight Compute Profiling Guide: Roofline Charts
First diagnosis from the achieved point and ridge
If the point is left of the ridge and near the sloped ceiling, the selected memory bandwidth may limit the kernel before compute throughput does. If it is near the horizontal ceiling to the right of the ridge, the selected compute path may be the first limit. These are interpretations within the chosen model and profiling range.
| Chart position | Initial hypothesis | What to check next |
|---|---|---|
| Left of ridge, near the slope | Possible bandwidth limit at the selected memory level | Bytes transferred and throughput at that level, cache reuse, and access efficiency. |
| Right of ridge, near the horizontal ceiling | Possible throughput limit in the selected compute path | Instruction type, data type, executed-operation counters, and pipeline utilization. |
| Far below either ceiling | Another limit or a chart/configuration mismatch may dominate | Workload size, parallelism, latency, instruction path, clock, profile range, and selected roofline. |
The gap between a point and a ceiling is a clue to investigate, not a promised speedup. The simple bound may not explain a kernel that does not fill the GPU, is dominated by latency, synchronization, or launch overhead, or was profiled in an unrepresentative range. NVIDIA describes Roofline as a guide for optimization and recommends validating it with counters. NVIDIA Nsight Compute Compute Triage Guide
Check hierarchical ceilings and the instruction path
A single DRAM ceiling does not explain every data movement. Depending on configuration, Nsight Compute’s hierarchical charts separate L1, L2, and DRAM ceilings, as well as different compute paths. A kernel near the DRAM ceiling may be limited by cache reuse. Reusing data to reduce DRAM traffic can move the achieved point toward the L2 or L1 ceiling without changing arithmetic intensity, provided the chart represents those levels and bytes correctly.
Plotting a Tensor Core kernel on a generic FP32 roofline, or selecting a ceiling that does not match the executed instructions, can mislead. Nsight Compute offers roofline sections for different operation paths, including tensor operations; available sections vary by GPU generation and profile settings. If the chart disagrees with expected FLOPs, check the selected section, the SM clock basis reported by the profiler, model-versus-hardware operation counts, and source or SASS counters. Matrix padding can make executed hardware work exceed the logical work. Compute Triage Guide: Roofline appears inconsistent with expected FLOPs
The general model is broadly useful, but the chart names and checks here describe NVIDIA Nsight Compute documentation reviewed on November 23, 2026. Other profilers and older releases may define labels and counters differently.
A verifiable diagnostic sequence
**Fix a representative workload.** Record the input size, kernel variant, GPU, and measured range; isolate other work where practical. Keep profiling settings stable across comparisons.
**Choose the matching ceilings.** Select a compute roofline for the data type and instruction path, and a memory boundary such as DRAM or L2. Check whether Tensor Core instructions are involved.
**Read the achieved point and ridge.** Note which ceiling or region the point approaches and state a hypothesis to test. Do not conclude from one point alone.
**Cross-check counters.** Inspect bandwidth and memory bytes, operation counts, SM frequency, pipeline utilization, and, when needed, source/SASS. Confirm the metrics are supported on the GPU and refer to the same execution range.
**Change one thing and measure again.** Near the memory ceiling, examine reuse or access patterns; near the compute ceiling, examine the instruction path and operation format. Compare absolute kernel time and total application time; revert or reassess if neither improves.
Sources
[Williams, Waterman, and Patterson, original Roofline paper (UC Berkeley)](https://www2.eecs.berkeley.edu/Pubs/TechRpts/2008/Archive/EECS-2008-134.pdf)
[NVIDIA Nsight Compute Profiling Guide: Roofline Charts](https://docs.nvidia.com/nsight-compute/ProfilingGuide/)
[NVIDIA Nsight Compute Compute Triage Guide](https://docs.nvidia.com/nsight-compute/ComputeTriage/)