标题: Understanding Caching [打印本页] 作者: helendcany 时间: 2016-8-22 10:05 标题: Understanding Caching Since the earliest days of microprocessors, system designers have been plagued by a problem in which the' d' u, j8 `- M; J' Q& s, W+ G
speed of the CPU's operation exceeded the bandwidth of the memory subsystem to which it was connected.' B+ ]$ {2 _# g9 w6 e3 \! l$ L6 f
To avoid wasting CPU cycles while waiting for the memory to fetch the requested data, the universally 9 Y4 w* U, s1 h, zadopted solution was to use an area of faster (and thus more expensive) memory to cache main memory data., j9 j/ b- [+ o
This solution allowed the CPU to operate at its natural speed as long as the data it required was available in ' A# O- V, l" x. p9 `the cache.