Wednesday 20 August 2014

What is Cache Memory ? What is cache ?

What is Cache Memory?

Cache (pronounced cash)  memory is extremely fast memory that is built into a computer’scentral processing unit (CPU), or located next to it on a separate chip. The CPU uses cachememory to store instructions that are repeatedly required to run programs, improving overall system speed. The advantage of cache memory is that the CPU does not have to use themotherboard’s system bus for data transfer. Whenever data must be passed through the system bus, the data transfer speed slows to the motherboard’s capability. The CPU can process data much faster by avoiding the bottleneck created by the system bus.


As it happens, once most programs are open and running, they use very few resources. When these resources are kept in cache, programs can operate more quickly and efficiently. All else being equal, cache is so effective in system performance that a computer running a fast CPU with little cache can have lower benchmarks than a system running a somewhat slower CPU with more cache. Cache built into the CPU itself is referred to as Level 1 (L1) cache. Cache that resides on a separate chip next to the CPU is called Level 2 (L2) cache. Some CPUs have both L1 and L2 cache built-in and designate the separate cache chip as Level 3 (L3) cache.

Cache that is built into the CPU is faster than separate cache, running at the speed of the microprocessor itself. However, separate cache is still roughly twice as fast as Random Access Memory (RAM). Cache is more expensive than RAM, but it is well worth getting a CPU and motherboard with built-in cache in order to maximize system performance.

Disk caching applies the same principle to the hard disk that memory caching applies to the CPU. Frequently accessed hard disk data is stored in a separate segment of RAM in order to avoid having to retrieve it from the hard disk over and over. In this case, RAM is faster than the platter technology used in conventional hard disks. This situation will change, however, as hybrid hard disks become ubiquitous. These disks have built-in flash memory caches. Eventually, hard drives will be 100% flash drives, eliminating the need for RAM disk caching, as flash memory is faster than RAM.


A small amount (normally less than 1MB) of high-speed memory residing on or close to the CPU. Cache memory supplies the processor with the most frequently requested data and instructions. Level 1 cache (primary cache) is the cache closest to the processor. Level 2 cache (secondary cache) is the cache second closest to the processor and is usually on the motherboard.

A cache, in computer terms, is a place to store information that's faster than the place where the information is usually stored. Cache memory is fast memory that is used to hold the most recently accessed data in slower main memory. The idea is that frequently accessed data will stay in cache, which allows the CPU to access it more quickly, which means it doesn't have to wait for the data to arrive.
In reference to your processor, the Cache Memory is the Processor's internal quick-hand storage that it uses for things that it's currently processing at that given time.
As with most things, the more cache memory a processor has, it will usually run smoother and faster than one with less of about the same operating frequency.

Cache memory is usually "On Die" which means it is in the processor chip, which allows it to 'talk' with the processor direct at a much higher speed than standard RAM.
cache is a small chip, that's usually placed inside the CPU or sometimes its right next to it and is responsible for providing direct access to the commonly used programs, rather than going back to the hard disk and ram again and again
so cache makes it more fast than RAM, you know!!!



No comments:

Post a Comment