Get the latest tech news

Why do CPUs have multiple cache levels? (2016)


This is a reader question from “jlforrest” that seems worth answering in more detail than just a single sentence: I understand the need for a cache but I don’t understand why there are …

Suppose you’re a white-collar office worker in some unnamed sprawling 1960s bureaucracy, with no computers in sight, and your job involves a lot of looking at and cross-referencing case files (here being folders containing sheets of paper). L1 data caches gets asked to read and write individual items that are most commonly between 1 and 8 bytes in size, somewhat more rarely larger (for SIMD instructions). The bus is a choke point; the hope is that the preceding two cache levels have winnowed down the number of memory accesses far enough that this doesn’t end up being a performance bottleneck.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of cpus

cpus

Related news:

News photo

Intel, Ampere show running LLMs on CPUs isn't as crazy as it sounds

News photo

AMD Enabling "Fast CPPC" For Even Greater Linux Performance & Power Efficiency On Some CPUs

News photo

Intel Axes 13th Gen Core i5, i7, i9 K-series CPUs