items 0 line transfers 0 own counter stalls 0 cores talk
57M items / sec measured 16 slots shown · real 1024
Producercore 0 · owns tail
Consumercore 1 · owns head
Pick a mode and press Next step. The producer and consumer chase each other around the ring while the counter cache lines get dragged between the cores. Watch how often the strips change hands in each mode.
Refresh cadence in cached mode is compressed for visibility, the real cadence is roughly once per 1000 items · Interactive demo from The data race that passed every test · runbykomal.com