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
The roofline model plots performance against arithmetic intensity (operations per byte transferred to or from memory). Low-intensity workloads hit a slanted ceiling set by memory bandwidth; high-intensity workloads hit a flat ceiling at peak compute. With 1 TB/s of bandwidth and 100 TFLOPS of compute, for example, anything below 100 FLOP/byte is memory-bound. The model guides whether to improve data reuse or compute efficiency.
- 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.