The Computer Revolution/Hardware/Cache

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search

Cache is pronounced like the word cash. It is an area of memory which is of high speed. The computer uses this memory to store often used data. The purpose of storing certain data in cache memory is to speed up the usage process of the data stored on this memory. In modern computers, the cache memory is stored between the processor and DRAM; this is called Level 2 cache. On the other hand, Level 1 cache is internal memory caches which are stored directly on the processor. Data and commands that are often used over and over again for programs are mainly what the computer stores in the cache memory. There are mainly two types of caching; memory cache, and disk cache. Memory cache is a part of the memory that is made of high speed. The space on the memory cache is very limited. It is high speed because it is static RAM instead of dynamic RAM. This is called memory cache.

There is also disk cache; having the same idea as memory cache; it is stored in the conventional main memory of the disk. This is called a memory buffer. The data that is most commonly accessed on the disk is what is stored in the buffer. Cache memory is very useful because it saves the computer user a lot of time in opening common data and giving common commands. Cache memory is very convenient because opening data in cache is dramatically faster than opening data on the main hard disk.