Technologia

Cache

A cache holds copies of data or previously computed results so that repeated requests can be served faster or with less work. On a cache hit, the system uses the stored copy. On a miss, it fetches or recomputes the data and may store it for later use. Processor caches reduce waits for main memory, operating systems cache file data, and web caches reduce network traffic and load on origin servers. Because cache space is limited and the original data can change, caches need rules for evicting entries and keeping stored copies current.

Cache

Origin

Transitions

FromToYearsWhy
Direct main-memory access for routine processor readsHardware cache between the processor and main memory1965 – 1995 (30 years)Small amounts of fast memory cost less than building all main memory from fast components; Repeated accesses to recently used or nearby addresses could be served with less delay
Single-level and board-mounted processor cachesMultilevel processor caches with an on-chip first level1989 – 2005 (16 years)Higher transistor densities made on-chip cache practical; An on-chip first level reduced access latency; Larger lower levels provided more capacity without slowing first-level hits

Spread

Near future

Processors are adding stacked cache memory to increase capacity within the chip package. Web services continue to cache content geographically closer to users, while AI inference systems cache intermediate results to reduce repeated computation.

Sources

This page in Markdown https://md.technologia.elamur.ai/free/en/cache/