Imagine a chip with 8 TFLOP/s of peak floating-point throughput and 100 GB/s of main-memory bandwidth. These are round numbers for a worked example. The achievable rate also depends on how much arithmetic each byte supports.
A bandwidth budget
Suppose a workload performs an average of 20 floating-point operations per byte crossing the main-memory interface. Even at full bandwidth, that feeds only 100 × 20 = 2,000 GFLOP/s, or 2 TFLOP/s. GB and TFLOP use decimal units here.
The Roofline model bounds performance by the smaller of peak compute and bandwidth times operational intensity. The two limits meet at 80 operations per byte in this example. Parallelism, instructions, and access patterns also affect the rate achieved. Berkeley’s Roofline technical report
What reuse changes
If four batches reuse the same block of weights on chip, the block needs only one fetch from main memory. The inputs and outputs still consume bandwidth, so include those transfers when recalculating intensity.
Alongside a peak-compute figure, write down the operation count and the bytes crossing a specific memory interface. That gives you a starting point for locating the bottleneck.