Interface Protocols · All levels
Coherence Fabrics (ACE / CHI): Tricky Q&A
Senior interview and review questions for Coherence Fabrics (ACE / CHI).
Section Q&A bank
Use these drills after completing all topics in Coherence Fabrics (ACE / CHI). Answer with layer, transaction, metric, artifact, and regression.
What is false sharing?
[INT][PROT][COHERENCE-FABRICS]
Q: What is false sharing?
A:
Different variables on the same cache line cause coherence traffic without logical data sharing.
FOLLOW-UP TRAP: Fixing with a faster NoC only.What does the Shared state mean in MESI?
[INT][PROT][COHERENCE-FABRICS]
Q: What does the Shared state mean in MESI?
A:
Line is valid and may be shared; reads allowed, writes require upgrade/invalidate sequence.
FOLLOW-UP TRAP: Confusing Shared with Exclusive.Why does CHI separate request, response, data, and snoop flows?
[INT][PROT][COHERENCE-FABRICS]
Q: Why does CHI separate request, response, data, and snoop flows?
A:
To scale many-core systems with independent channels and avoid protocol deadlock.
FOLLOW-UP TRAP: Treating CHI as 'AXI with snoops'.Q&A drill guide
LAYER -> TRANSACTION -> METRIC -> ARTIFACT -> FIX -> REGRESSIONSketch while answering
COHERENCE TRAFFIC FLOW
RN issues coherent read
-> HN looks up directory
-> snoops to sharers
-> data + state update returned
False sharing: different variables, same cache line -> coherence storm.Common traps
If snoop latency high, check home node placement and directory policy.
If ordering bug, run litmus sequences before microarch changes.
If traffic storm, profile cache line sharing in software layout.
Key takeaways
Connect every protocol claim to a transaction identity and measurable metric.
Store the artifact (waveform, log, counter) next to every signoff decision.
Common pitfalls
Debugging timeouts without finding the first bad transaction.
Quoting peak bus width without payload efficiency and retry overhead.
Treating VIP compliance as a substitute for system integration replay.