Cache (computing): Difference between revisions

Content deleted Content added
Restored revision 1231688999 by Johnnie Bob (talk): Redundant
m Detail section and Pronunciation section with pictures.
Tags: Reverted Visual edit
Line 1:
{{Short description|Additional storage that enables faster access to main storage}}
 
{{Use dmy dates|date=August 2020}}
== Details ==
 
== {{Use dmy dates|date=August 2020}} ==
[[File:cache,basic.svg|thumb|upright=1|Diagram of a CPU memory cache operation]]
 
Line 7 ⟶ 10:
 
To be cost-effective, caches must be relatively small. Nevertheless, caches are effective in many areas of computing because typical [[Application software|computer applications]] access data with a high degree of [[locality of reference]]. Such access patterns exhibit temporal locality, where data is requested that has been recently requested, and spatial locality, where data is requested that is stored near data that has already been requested.
[[File:External Cache 486x.jpg|thumb|External cache]]
 
==Motivation==
Line 16 ⟶ 20:
 
The use of a cache also allows for higher throughput from the underlying resource, by assembling multiple fine-grain transfers into larger, more efficient requests. In the case of DRAM circuits, the additional throughput may be gained by using a wider data bus.
 
== Pronunciation ==
[[File:Cache coherence.svg|thumb|Coherence]]
The term "cache" is pronounced as \ˈkash\ in American English and \ˈkæʃ\ in British English. The American pronunciation emphasizes the first syllable, with a clear vowel sound similar to "cash," while the British pronunciation includes a shorter vowel sound, resembling "cash" with a slight 'a' sound at the beginning. This pronunciation distinction reflects regional variations in English-speaking countries but does not affect the meaning or usage of the term in computer science and technology contexts, where it universally refers to a high-speed storage mechanism used to temporarily store data for quicker access.
 
=={{Anchor|CACHE-HIT|CACHE-MISS}}Operation==