Hacker News Viewer

How Much Linear Memory Access Is Enough?

by PhilipTrettner on 4/8/2026, 1:16:19 PM

https://solidean.com/blog/2026/how-much-linear-memory-access-is-enough/

Comments

by: PhilipTrettner

I looked into this because part of our pipeline is forced to be chunked. Most advice I&#x27;ve seen boils down to &quot;more contiguity = better&quot;, but without numbers, or at least not generalizable ones.<p>My concrete tasks will already reach peak performance before 128 kB and I couldn&#x27;t find pure processing workloads that benefit significantly beyond 1 MB chunk size. Code is linked in the post, it would be nice to see results on more systems.

4/8/2026, 1:27:00 PM