What is cache memory?
By kowtow
@kowtow (80)
India
July 23, 2008 7:08am CST
Can you explain wat is cache memory?.. What is purpose of that cache memory.. Explain it please..
3 responses
@karthiganesh (103)
• Singapore
23 Jul 08
It is a special high speed memory in smaller storag size. We know that the MICROPROCESSOR's speed is very very higher than RAM memory. We cannot afford the cost of high speed memory. So we use low cost slower RAM Memory. But this is a bottleneck to utilize th speed of Microprocessor. Therefore a low capacity and high speed cache memory is employed in between high speed MICROPROCESSOR and low speed RAM memory. This is working like this :
* Frequently refered information are kept in cache memory
(this could be array data, subroutine code etc)
* Whenever microprocessor needs information, first it will search CACHE,
if found (HIT) fetch and use it in high speed.
If not found (MISS), then fetch from RAM MEMORY
* Many innovative methods are employed to improve the HIT rate.
LRU (Least Recently Used)
MRU (Most Recently Used)
I hope this information are sufficient. I am ready to give specific detail, if required.
@v_user (47)
• Philippines
23 Jul 08
Hi. The easiest way to understand it is that it helps your computer run faster. That's why websites you have opened before load faster than newly visited sites. Stores recently used files for easy access so the computer doesn't have to crawl through the rest of the files every time. That's how I understand it.