logoalt Hacker News

lifeisstillgood • yesterday at 7:07 PM • 1 reply • view on HN

Yeah, but it is surprising.

I suspect most of us think of computers as CPUs with memory attached, whereas it’s memory with CPUs attached.

I suspect I should quote Fred Brooks “show me your database and I will understand” or “variable operations over well structured data” - we are all told to think of data as the big thing and operations as smaller - but we are still surprised.

Maybe it’s that we have small brains looking into a world of information that makes us prioritise the CPU first :-)


Replies

jasonwatkinspdx • yesterday at 7:41 PM

I think it's just whether or not you've read some basics about microprocessor architecture. Caches have dominated die area since the late 90s for general purpose cpus.

Back when Linus was at Transmeta, he often posted on comp.arch, and one thing I remember him saying was "The CPU's job is to generate the minimum number of cache misses as fast as possible."

Out of order speculation, branch prediction, and big caches ended up being a way more effective combination than everyone expected, so now they're the critical bottleneck as far as single thread performance goes.