Cache hierarchy
Cache hierarchy, or multi-level cache, is a memory architecture that uses a hierarchy of memory stores based on varying access speeds to cache data.[src] Highly requested data is cached in high-speed access memory stores, allowing swifter access by central processing unit (CPU) cores.[src] Cache hierarchy is a form and part of memory hierarchy and can be considered a form of tiered storage.[src] This design was intended to allow CPU cores to process faster despite the memory latency of main memory access.[src] Accessing main memory can act as a bottleneck for CPU core performance as the CPU waits for data, while making all of main memory high-speed may be prohibitively expensive.[src] High-speed caches are a compromise allowing high-speed access to the data most-used by the CPU, permitting a faster CPU clock.[src]
Cache hierarchy, or multi-level cache, is a memory architecture that uses a hierarchy of memory stores based on varying access speeds to cache data.[src] Highly requested data is cached in high-speed access memory stores, allowing swifter access by central processing unit (CPU) cores.[src] Cache hierarchy is a form and part of memory hierarchy and can be considered a form of tiered storage.[src] This design was intended to allow CPU cores to process faster despite the memory latency of main memory access.[src] Accessing main memory can act as a bottleneck for CPU core performance as the CPU waits for data, while making all of main memory high-speed may be prohibitively expensive.[src] High-speed caches are a compromise allowing high-speed access to the data most-used by the CPU, permitting a faster CPU clock.[src] \text{AAT} = \text{hit time}+((\text{miss rate})\times(\text{miss penalty})) AAT for main memory is given by Hit time main memory .[src] AAT for caches can be given by: Hit Time cache + (Miss Rate cache × Miss Penalty time taken to go to main memory after missing cache ).[src] The hit time for caches is less than the hit time for the main memory, so the AAT for data retrieval is significantly lower when accessing data through the cache rather than main memory.[src] Example: main memory = 50 , L1 = 1 ns with 10% miss rate, L2 = 5 ns with 1% miss rate, L3 = 10 ns with 0.2% miss rate.[src] No cache, AAT = 50 ns L1 cache, AAT = 1 ns + (0.1 × 50 ns) = 6 ns L1–2 caches, AAT = 1 ns + (0.1 × [5 ns + (0.01 × 50 ns)]) = 1.55 ns L1–3 caches, AAT = 1 ns + (0.1 × [5 ns + (0.01 × [10 ns + (0.002 × 50 ns)])]) = 1.5101 ns[src]
17 sentences · 17 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Cache hierarchy." encyclopegia.org, 2025, https://encyclopegia.org/wiki/cache-hierarchy. Accessed 28 November 2026.
Chicago
"Cache hierarchy." encyclopegia.org. Accessed November 28, 2026. https://encyclopegia.org/wiki/cache-hierarchy.
APA
encyclopegia.org. (2025). Cache hierarchy. Retrieved November 28, 2026, from https://encyclopegia.org/wiki/cache-hierarchy
Accessed November 28, 2026 · CC BY-SA 4.0 · citation page · JSON