Cache


Pronounced cash, a special high-speed storage mechanism. Cache can be either a reserved section of main memory or an independent high-speed storage device. Two types of caching are commonly used in personal computers: memory caching and disk caching.
Memory Caching

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.

L1 and L2 Caches

Some memory caches are built into the architecture of microprocessors. The Intel 80486 microprocessor, for example, contains an 8K memory cache, and the Pentium has a 16K cache. Such internal caches are often called Level 1 (L1) caches. Most modern PCs also come with external cache memory, called Level 2 (L2) caches. These caches sit between the CPU and the DRAM. Like L1 caches, L2 caches are composed of SRAM but they are much larger.
Disk Caching

Disk caching works under the same principle as memory caching, but instead of using high-speed SRAM, a disk cache uses conventional main memory. The most recently accessed data from the disk (as well as adjacent sectors) is stored in a memory buffer. When a program needs to access data from the disk, it first checks the disk cache to see if the data is there. Disk caching can dramatically improve the performance of applications, because accessing a byte of data in RAM can be thousands of times faster than accessing a byte on a hard disk.
Smart Caching

When data is found in the cache, it is called a cache hit, and the effectiveness of a cache is judged by its hit rate. Many cache systems use a technique known as smart caching, in which the system can recognize certain types of frequently used data. The strategies for determining which information should be kept in the cache constitute some of the more interesting problems in computer science.

Read Also:

  • Central Processing Unit (CPU)

    CPU (pronounced as separate letters) is the abbreviation for central processing unit. Sometimes referred to simply as the central processor, but more commonly called processor, the CPU is the brains of the computer where most calculations take place. In terms of computing power, the CPU is the most important element of a computer system. Printed […]

  • 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 […]

  • 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 […]


Disclaimer: Cache 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.