标题: 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: i+ A# X. v1 R" a7 ?; K
speed of the CPU's operation exceeded the bandwidth of the memory subsystem to which it was connected. + y1 @7 U k4 v- M8 u, g; x0 uTo avoid wasting CPU cycles while waiting for the memory to fetch the requested data, the universally8 z* }# ?. e4 x; f) ]4 s9 ]- q1 L5 k
adopted solution was to use an area of faster (and thus more expensive) memory to cache main memory data. , x5 G6 ^- ^6 p! b8 m, [. Y ^) eThis solution allowed the CPU to operate at its natural speed as long as the data it required was available in 9 K+ ]/ S2 X, r5 p3 p( c5 Tthe cache.