Skip to main content

Cache memory works on the principle of

Principle of Cache Memory

Cache memory works on the principle of
  1. Locality of data.
  2. Locality of reference
  3. Locality of memory
  4. Locality of reference & memory
Answer: Locality of reference

Cache Memory

Cache memory, also called CPU memory, is random access memory (RAM) that a computer microprocessor can access more quickly than it can access regular RAM. This memory is typically integrated directly with the CPU chip or placed on a separate chip that has a separate bus interconnect with the CPU

Cache Memory Principle

To carry out a particular instruction, the CPU needs a specific piece of information. The CPU will first check to see if this information is available in the CPU cache. If the information is found, this is called a cache hit. If the information is not found, this is called a cache miss, and the CPU goes on looking for the information elsewhere. In the case of a cache miss, the piece of information will be found in the main memory, but it will simply take longer.


Random Topics

Popular posts from this blog