The alpha, twice a week
That was 4 min.
Get the best new moments in your inbox every Wednesday and Saturday. It's free.
Check your inbox
We sent a link to your address. Click it to finish signing up. Not there in a minute? Look in spam.
or
Dwarkesh Podcast · 4 min · May 22, 2026
Scratchpads let software control data placement
CPU cache hits depend on recent system activity, making access times less predictable.
In this episode
Full analysis- 16:00Moving data can cost more than doing the computation6 min
- 25:20Systolic arrays reuse weights to reduce data movement7 min
- 58:43FPGA lookup tables spend extra gates for flexibilityPro pick 5 min
- 51:41ASICs are efficient, but their first tape-out costs $30 million7 min
- 45:54Feedback loops can set a chip’s clock-speed limit5 min
- 1:03:24Scratchpads let software control data placement4 min
- 1:08:13Branch predictors and caches take area in CPU cores4 min
- 1:13:04A slower clock does not greatly improve energy efficiency2 min
Takeaways
- Cache hits depend on recent accesses and other running programs.
- Caches speed up CPUs but make latency less predictable.
- Scratchpads expose local storage and HBM as separate operations.
About this segment
CPU cache hits depend on recent system activity, making access times less predictable. TPUs expose scratchpad and HBM as separate operations, so software controls where data goes.
Reiner Pope is CEO of MatX.
Co-founded MatX to design chips for LLMs, betting on HBM and SRAM; former Google TPU architect.

Dwarkesh Patel, Host · Host, Dwarkesh Podcast
Co-wrote The Scaling Era, an oral history of AI; named to TIME100 AI.
From “Chip design from the bottom up – Reiner Pope”, May 22, 2026. Watch the full episode
Thanks. We'll look at and fix what's off.
Transcript
Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.
- 1:03:31
um uh and in fact like the the processes that are inside a lot of uh ai chips actually also have deterministic latency too grok has advertised this tpus have that in the core as well um the challenge is getting sort of deterministic latency and high speed at the same time and so where does the non-determinism in latency come from non-deterministic latency comes from specific design choices in a cpu it's actually possible to remove those design choices and make a cpu that has deterministic latency those are not very attractive in the market and so people don't make those cpus anymore But actually, in some sense, like deterministic latency is maybe a sort of a simpler designing starting point.
- 1:04:21
And then like some chip designers have added things in to be non-deterministic. To take a concrete example of that, probably the most important example is on a CPU just like the CPU cache itself. So in a CPU, you have the CPU, this is the CPU die itself, and then there's a memory off on the side. This is the DDR memory off on the side. And then you have a cache system here inside it is the cache that sort of remembers recent accesses to DDR and stores them.
- 1:05:06
And so when I'm running through my CPU instructions, every time I have an instruction that accesses memory, it first checks in cache, was the data stored in cache? And then if not, it fetches out to DDR. This is a huge optimization. The cache is like two orders of magnitude faster than DDR. If you never use the cache, basically all programs would run 100 times slower. So the presence of a cache is absolutely necessary for a CPU to run at reasonable speed.
- 1:05:40
But whether or not you get a cache hit is dependent on the sort of ambient environment of the CPU. Like what other programs are running, what has run recently, what is the random number generator inside the cache system doing? And so that is a big source of non-determinism in the runtime of a CPU. So this is sort of the memory system for a CPU. The big thing that you can do differently is instead of having the hardware say, I'm going to like read memory and then decide the hardware decides whether or not it comes from cache or not, you can actually bake this decision into software.
- 1:06:15
So a different design philosophy is to, so, and you see this in maybe, for example, TPUs. The TPU instead has, I mean, I'll draw the same diagram, but I'll call it a scratch pad. And so the main difference is um so this would be like a tpu and then like hbm in this case rather than ddr but it's still an off-chip memory um and instead of like the software saying first access like memory and then the hardware decides um you've got some instructions that go here this is like one kind of instruction and then a totally different kind of instruction that goes to hbm yeah and so this style is generically known as Scratchpad instead of cache. The key distinction being that you have like one kind of instruction that says read or write Scratchpad and a totally different instruction that says read or write HBM. So Scratchpad being the cache? Yeah, this thing