[英]Calculating CPI for 2 cache level?
Assuming that the main memory access time needs 30 clock cycles, the memory access number accounts for 20% of the total number of instructions.假设主存访问时间需要30个时钟周期,则内存访问次数占指令总数的20%。 Memory system uses L1 data cache with miss rate of 8%.
内存系统使用 L1 数据缓存,缺失率为 8%。 CPU operating frequency is 2 GHz If we design an L2 data cache with a miss rate of 18% and a hit time of 3ns, the command cache has a hit rate of 100%.
CPU 工作频率为 2 GHz 如果我们设计一个 L2 数据缓存,丢失率为 18%,命中时间为 3ns,那么命令缓存的命中率为 100%。 With an ideal CPI of 2 (for both order loading).
理想的 CPI 为 2(对于两个订单加载)。 What is the average CPI?
什么是平均 CPI?
Adding all of the above yields 2.161512将以上所有结果相加得到 2.161512
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.