logoalt Hacker News

alain94040today at 1:39 AM2 repliesview on HN

From your blog post:

> Random access from the cache is remarkably quick. It's comparable to sequential RAM performance

That's actually expected once you think about it, it's a natural consequence of prefetching.


Replies

forrestthewoodstoday at 7:20 AM

Heh. That line often gets called out.

Lots of things are expected when you deeply understand a complex system and think about it. But, like, not everyone knows the system that deeply nor have they thought about it!

delusionaltoday at 5:22 AM

If that wasn't the case the machine would have to prefetch to register file. I don't know of any CPU that does that.