阿摩線上測驗 登入

申論題資訊

試卷:104年 - 104 國立中山大學_碩士班招生考試_資工系(甲、乙組):計算機結構#105827
科目:中山◆資工◆計算機結構
年份:104年
排序:17

題組內容

7. Consider three processors with different cache configurations:
Cache 1: Direct-mapped with two-word blocks
Cache 2: Direct-mapped with four-word blocks
Cache 3: Two-way set associative with four-word blocks
The following miss rate measurements have been made:
Cache 1: Instruction miss rate is 3.75%; data miss rate is 5%
Cache 2: Instruction miss rate is 2%; data miss rate is 4%
Cache 3: Instruction miss rate is 2%: data miss rate is 3%
For these processors, one-half of the instructions contain a data reference. Assume that the cache
miss penalty is 6 + Block size in words. The CPI for this workload was measured on a processor with
Cache I and was found to be 2.0.61e5295fab61e.jpg61e52965bebdc.jpg

申論題內容

7.1 Assuming a cache of 16K blocks and a 32-bit address, find the total number of sets and the total number of tag bits for Cache I, Cache 2, and Cache 3.