cache coherence


(cash cōhēr´&ns) (n.) A protocol for managing the caches of a multiprocessor system so that no data is lost or overwritten before the data is transferred from a cache to the target memory. When two or more computer processors work together on a single program, known as multiprocessing, each processor may have its own memory cache that is separate from the larger RAM that the individual processors will access. A memory cache, sometimes called a cache store or RAM cache, is a portion of memory made of high-speed static RAM (SRAM) instead of the slower and cheaper dynamic RAM (DRAM) used for main memory. Memory caching is effective because most programs access the same data or instructions over and over. By keeping as much of this information as possible in SRAM, the computer avoids accessing the slower DRAM.

When multiple processors with separate caches share a common memory, it is necessary to keep the caches in a state of coherence by ensuring that any shared operand that is changed in any cache is changed throughout the entire system. This is done in either of two ways: through a directory-based or a snooping system. In a directory-based system, the data being shared is placed in a common directory that maintains the coherence between caches. The directory acts as a filter through which the processor must ask permission to load an entry from the primary memory to its cache. When an entry is changed the directory either updates or invalidates the other caches with that entry. In a snooping system, all caches on the bus monitor (or snoop) the bus to determine if they have a copy of the block of data that is requested on the bus. Every cache has a copy of the sharing status of every block of physical memory it has.

Cache misses and memory traffic due to shared data blocks limit the performance of parallel computing in multiprocessor computers or systems. Cache coherence aims to solve the problems associated with sharing data.

Read Also:

  • caddy

    A plastic case that holds a CD-ROM. Some older CD-ROM players required a caddy, but nearly all modern players do not. Instead, modern CD-ROM players operate like compact disc players, with a tray on which you can directly lay the CD-ROM.

  • calculator

    (1) A small hand-held computer that performs mathematical calculations. Some calculators even permit simple text editing and programming. (2) A program on a computer that simulates a hand-held calculator. Calculator programs let you perform simple math calculations without leaving the computer. The Apple Macintosh comes with a calculator desk accessory. Likewise, Microsoft Windows includes a […]

  • calendar

    A program that enables you to record events and appointments on an electronic calendar. Computer calendars act like datebooks, but they have several advantages over traditional datebooks: automatic entries for regular events: You can specify, for example, that the first Thursday of every month is bridge night, and the calendar program will automatically fill in […]

  • calibrate

    On an iPod or iPhone calibrate is the term used to describe the act of running the battery all the way down (full discharge) and then charging it all the way up to full again.

  • caliper

    A term commonly associated with printing which is used to measure paper thickness in thousandths of an inch.


Disclaimer: cache coherence definition / meaning should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. All content on this website is for informational purposes only.