Roofline Model
A visual analytical model for assessing the performance ceiling of computational workloads. It identifies computational bottlenecks by examining the relationship between arithmetic intensity (FLOP/Byte) and a hardware platform's peak compute throughput and memory bandwidth.
Timeline (last 90 days)
In batch-1 decoding scenarios, because arithmetic intensity is extremely low, the performance bottleneck must fall on the memory bandwidth side, and the theoretical token ceiling can be calculated from measured bandwidth multiplied by weight bytes.
The Roofline model relates a kernel's arithmetic intensity (floating-point operations per byte of data) to the hardware's memory bandwidth and peak compute, and is used to determine whether to prioritize optimizing memory access or compute logic.
All Facts (4)
The Roofline model relates a kernel's arithmetic intensity (floating-point operations per byte of data) to the hardware's memory bandwidth and peak compute, and is used to determine whether to prioritize optimizing memory access or compute logic.
70%UnverifiedIn batch-1 decoding scenarios, because arithmetic intensity is extremely low, the performance bottleneck must fall on the memory bandwidth side, and the theoretical token ceiling can be calculated from measured bandwidth multiplied by weight bytes.
50%UnverifiedThe autoregressive generation phase of large language models is a memory-bandwidth-bound task, with single-batch inference arithmetic intensity of approximately 1–2 FLOP/Byte, far below the RTX 4090's compute-to-bandwidth ratio of approximately 160 FLOP/Byte.
50%Unverified单Token生成的算术强度约为1 FLOP/Byte,导致GPU计算单元利用率不到1%
50%