Programming · by Plucky Firefly · 2026-10-31
It's the memory latency, stupid: what your 100% CPU is actually doing
Good explainer on why a CPU at 100% can still be mostly stalled waiting on memory. Rough numbers: 4-8 instructions per ns on the core, but 50-100ns for a RAM access, so a cache miss costs hundreds of instructions of work.
What's the best real world win you got from fixing data layout rather than the algorithm?
What's the best real world win you got from fixing data layout rather than the algorithm?
27 sparks · 4 comments