Computer Architecture · All levels

Roofline Thinking for SoC Tradeoffs — Review Checklist

Review Checklist for Roofline Thinking for SoC Tradeoffs (Performance Analysis).

Review gate

  1. Inputs versioned and match workload/model/RTL tag

  2. Primary metric meets target or documented product tradeoff

  3. Regression workloads executed on tagged model

  4. Risks logged with owner and date

  5. Handoff notes updated for next stage

Smoke check (5 minutes)

  • Every checklist item has an owner

  • Failed items have owner, mitigation, and decision record

Definition of done for a senior owner

  1. The exact workload, model/RTL tag, counter setup, and analysis window are recorded.

  2. The primary metric is clean, improved, or accepted as a documented product tradeoff: Workload roofline placement report.

  3. The change is explained by mechanism, not by architecture folklore.

  4. Regression coverage includes the obvious downstream domains: Area-power-performance budgeting and accelerator roadmap choices..

  5. Residual risk has an owner, approval path, and expiration date.

  6. The lesson is captured as a methodology guardrail if it can recur.

Smoke check (5 minutes)

  • Could another engineer reproduce the conclusion from the notes alone?

  • Would you sign this off if the design came from another team?

Review visual

diagram
TRADEOFF MATRIX — Roofline Thinking for SoC Tradeoffs

+----------------------+----------------------+----------------------+----------------------+
| Option               | Helps                | Can hurt             | Validation needed    |
+----------------------+----------------------+----------------------+----------------------+
| Larger / wider block | peak perf, miss rate | area, power, timing  | workload sweep       |
| Smarter policy       | hit rate, QoS, IPC   | verification risk    | corner cases + PMU   |
| More buffering       | latency tails, stalls| deadlock, leakage    | stress traffic tests |
| Software contract    | locality, ordering   | portability, APIs    | production workload  |
+----------------------+----------------------+----------------------+----------------------+

Senior rule: pick the smallest change that proves or disproves the mechanism.

Architecture deep dive

PMU evidence beats intuition for architecture decisions.

Concept diagram

diagram
TOP-DOWN PERFORMANCE METHOD

Total cycles
 ├─ Retiring useful work
 ├─ Frontend bound
 ├─ Bad speculation
 ├─ Backend core bound
 └─ Backend memory bound

Only after classification should you propose cache, branch, pipeline, or NoC changes.

Metric graph

diagram
ROOFLINE SKETCH

Performance
  ^
  |                     compute roof
  |-------------------------------
  |                   /
  |                 /
  |               /   ● workload A (compute-bound)
  |             /
  |   ● workload B (memory-bound)
  +---------------------------------> arithmetic intensity
        memory bandwidth slope

Metrics and artifacts

  • PMU event sets

  • roofline chart

  • top-down stall breakdown

  • workload sensitivity matrix

Mini case study

Team proposed wider SIMD but roofline showed memory-bound kernel — bandwidth upgrade and locality fix delivered 2× speedup at lower area cost.

Debug branches

  • If counters disagree with sim, align workload and warmup.

  • If bottleneck unclear, use top-down method before microarch tweaks.

Senior review question

Ask: what single metric would prove this concept is working or failing on your workload?

Key takeaways

  • Connect every architecture claim to a workload and measurable metric.

  • State verification and PPA impact before proposing design changes.

Common pitfalls

  • Feature-driven design without MPKI/IPC/bandwidth evidence.

  • Ignoring coherency and NoC traffic in cache and accelerator sizing.

Study notes

Re-read this topic with one concrete workload.