I am finishing my CS degree, and doing some review of material.
In terms of CPU Cache (L1,L2,L3); cache is only necessary because RAM clock cycles are too slow?
After review the wiki article and this article it seems there are two reasons for the cache; the other being that the time taken to retrieve/find memory grows as memory becomes larger (hence the different levels of cache).
In summation, if ram could run at the cpu clock speed, there wouldn't be a need for cache - other than latency with actually finding and returning memory.
It has always been explained to me as if cache was necessary, because it was physically faster than ram due to it being physically closer to the chip - as if it was transportation time that is the bottleneck...just not sure
In terms of CPU Cache (L1,L2,L3); cache is only necessary because RAM clock cycles are too slow?
After review the wiki article and this article it seems there are two reasons for the cache; the other being that the time taken to retrieve/find memory grows as memory becomes larger (hence the different levels of cache).
In summation, if ram could run at the cpu clock speed, there wouldn't be a need for cache - other than latency with actually finding and returning memory.
It has always been explained to me as if cache was necessary, because it was physically faster than ram due to it being physically closer to the chip - as if it was transportation time that is the bottleneck...just not sure