标题: 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 * k9 o- }! y5 L8 @4 F( vspeed of the CPU's operation exceeded the bandwidth of the memory subsystem to which it was connected.) C$ r' q6 t+ x0 h* a
To avoid wasting CPU cycles while waiting for the memory to fetch the requested data, the universally $ R- a9 G9 E: K1 O7 Q1 Xadopted solution was to use an area of faster (and thus more expensive) memory to cache main memory data. ( s* D9 q2 z! k" V8 SThis solution allowed the CPU to operate at its natural speed as long as the data it required was available in2 K: I& W6 ?+ w0 E# y( W5 L
the cache.