Difference between revisions of "Cache"

From SEGGER Wiki
Jump to: navigation, search
m
m
Line 2: Line 2:
   
   
Cache memory is small-sized computer memory that provides high-speed data access to a processor.
+
Cache memory is fast memory that contains a copy of other, slower memory in the system. The purpose of the cache is to minimize delays experienced by the processor, thus
  +
making the system faster.
 
  +
Caches are typically used in systems using clock speeds of 200MHz and above.
It is the fastest memory in a computer and typically stores frequently used computer programs, applications, and data.
 
  +
In large systems, such as PCs and servers, there are typically multiple levels of caching, called L1 (first level cache), L2 and L3.
  +
Cache sizes vary. Typically, L1 cache sizes are around 16kB. In systems with multiple level caches, the upper levels (L2 and L3) are larger than the L1 cache.
  +
In many systems, two L1 caches exist in parallel, one for data (D-Cache), and one for instruction (I-Cache). They typically unify in the L2 cache.

Revision as of 20:58, 16 June 2019


Cache memory is fast memory that contains a copy of other, slower memory in the system. The purpose of the cache is to minimize delays experienced by the processor, thus making the system faster. Caches are typically used in systems using clock speeds of 200MHz and above. In large systems, such as PCs and servers, there are typically multiple levels of caching, called L1 (first level cache), L2 and L3. Cache sizes vary. Typically, L1 cache sizes are around 16kB. In systems with multiple level caches, the upper levels (L2 and L3) are larger than the L1 cache. In many systems, two L1 caches exist in parallel, one for data (D-Cache), and one for instruction (I-Cache). They typically unify in the L2 cache.