計算機組織與結構›Ch6 記憶體(Memory)第 42 題/共 83 題
42. Two-Level Cache、CPI、AMAT
#CC-06-042易Two-Level CacheCPIAMAT
題組題幹(本題:第30題,共 3 小題)點擊展開
Consider a 16-bit computer with a hierarchical memory system consisting of a disk, a -byte main memory using byte-addressing, and a two-level cache with primary cache of -byte data inside CPU. The primary cache is designed as follows. It is a direct mapped cache. Each block is 16-word long and the replacement policy is LRU. The OS adopts a 16-bit virtual address with a page size of 0.5KB.
If the CPU base CPI = 1 and the CPU clock is running at 5GHz. The miss rate per lw/sw instruction in primary cache is 2%. There are 25% lw/sw instructions in a program. The access time to the second-level cache is 6ns and the global miss rate to main memory is 0.2% with the miss penalty of 240ns. Which statement is true?
📄 交大113
▤完整推導請見《WH 資工筆記 · 計算機組織與結構》Ch6 記憶體(Memory)