On 7 Apr, 19:58, ChrisCoaster <ckozi...@snet.net> wrote:
the idea is that when you have one memory to store all your stuff, and
a smaller faster memory(cache memory / a cache), to store the stuff
that is most frequently accessed. (obviously so you can access it
from the faster memory instead of RAM, which is slower.. and obviously
since you cannot put everything in cache, you have to choose what to
put in there, and for efficiency, it makes mose sense to put in what
is most frequently accessed).
cache memory is Random Access, and Memory, and it is writable (which
makes it more like RAM than ROM!). But the technology it uses is
better, and the it is being used for is different
one reason why this is done is price. The faster memory is very
expensive. So you cannot just use the memory technology of the cache
memory, for the RAM, and abolish the cache.
.
I suppose a similar thing is with Hard drive and RAM. One doesn`t
call RAM "cache", but relative to the hard drive, I suppose it is.
Things are loaded into RAM and then accessed quickly.. (the CPU can
access things in RAM, not the hard drive. Perhaps it was designed that
way because accessing from the hard drive would be slow).
And there is an analogy there with capacity too. Hard drive is like
160GB, RAM is 512MB.
(though of course the issue with RAM is data goes when the computer is
turned off)
If people could have cache memory in quantities of RAM, then I suppose
they would use that memory for their RAM. And abolish the extra "cache
memory".
I remember in 1995, RAM may have been 16MB(I cannot remember the RAM
quantities, 8 or 16 or 32).. But the latest cool advertised thing was
"pipline burst cache".. So a P120(pentium 120Mhz) had perhaps 16MB
RAM, and also, 256KB pipeline burst cache.
I have heard the term CPU cache... That may be the same thing..
CPU communicates with RAM.
Any cache memory is in between. Like a faster, smaller RAM.
I am not big on CPU architecture, but that is the idea.