IntroductionCache is a key to the performance of a modern
processor. Typically ~25% of instructions reference memory, so that memory
access time is a critical factor in performance. By effectively reducing
the cost of a memory access, caches enable the greater than one
instruction/cycle goal for instruction throughput for modern processors. A
further indication of the importance of cache may be gained from noting
that out of 6.6x106 transistors in
the MIPS
R10000, 4.4x106 were used for
primary caches. (This presumably includes TLBs as well
as the instruction and data caches.) |
EtymologyCache comes from the French,
cacher = to hide, presumably because a cache is transparent to, or
hidden from, a programmer. Programmers do not generally "see" the cache:
programs should run in the same way whether a cache is present or not.
Cache should only affect the performance of a program.
|