CPUs and architecture
Which model plots whether a program's performance is limited by compute throughput or memory bandwidth, using arithmetic intensity (operations per byte) on the horizontal axis?
- AAmdahl's law
- BThe roofline model
- CThe Poisson model
Show answer and explanation
Answer: B. The roofline model
In the roofline model, programs with low arithmetic intensity are capped by memory bandwidth (the sloped line), while those with high intensity are capped by the processor's peak compute (the horizontal line). The shape resembles a roof, hence the name, and it is used to decide how to improve performance.
- A. Amdahl's law expresses the speedup limit caused by the non-parallelizable part.
- B. Correct. It plots the limits of compute and memory bandwidth.
- C. The Poisson model is used for yield calculations and the like.