Computer Architecture · All levels

ACE and CHI Protocol Introduction — Review Checklist

Review Checklist for ACE and CHI Protocol Introduction (Coherency and Memory Ordering).

Review gate

  1. All ordering and shareability attributes are mapped and regression-checked.

  2. Barrier and atomic cases pass under peak credit pressure.

  3. Protocol monitors agree on completion semantics at every boundary.

  4. Migration rollback plan is documented and tested.

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: ACE/CHI interoperability readiness report.

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

  4. Regression coverage includes the obvious downstream domains: System correctness under mixed CPU, DMA, and accelerator traffic..

  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 — ACE and CHI Protocol Introduction

+----------------------+----------------------+----------------------+----------------------+
| 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

Coherency protocols trade traffic, latency, and verification complexity.

Concept diagram

diagram
MESI STATE SKETCH

        read miss          write
 Invalid ─────────► Shared ───────► Modified
    ▲                 │  ▲             │
    │ invalidate      │  │ downgrade   │ writeback
    └─────────────────┘  └─────────────┘

The interview bar is not naming states; it is explaining traffic and ordering.

Metric graph

diagram
COHERENCY TRAFFIC STACK

read shared      █████████████  42%
read exclusive   ███████        21%
invalidates      ██████████     31%
writebacks       █████          14%
snoop retries    ███            8%

False sharing often appears as invalidation spikes.

Metrics and artifacts

  • coherency transaction rate

  • snoop/filter efficiency

  • ordering violation tests

  • false sharing counters

Mini case study

Performance regression traced to false sharing on a counter array — coherency traffic exploded. Architecture fix: per-core counters + periodic merge, not faster NoC alone.

Debug branches

  • If rare SW bug, run litmus and ordering tests before microarch changes.

  • If traffic high, profile sharing patterns at cache-line granularity.

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.