阿摩線上測驗
登入
首頁
>
台大◆電機◆計算機結構與作業系統(A)
>
109年 - 109國立臺灣大學_碩士班招生考試_電機工程研究所丙組:計算機結構與作業系統(A)#105855
> 申論題
題組內容
13. (5 points) About cache optimization, which of the following statements is/are correct ?
(c) Greater associativity reduces conflict misses. Greater associativity can come at the cost of incrcased hit time.
相關申論題
(a) In a multilevel cache system, the first-level cache can be small enough to match a fast clock cycle time, yet the second-level (or third-level) cache can be large enough to capture many accesses that would go to main memory.
#451225
(b) Most proces ssors give cache write misses priority over read misses to reduce miss penalty.
#451226
(c) A common optimization is to use the page offset to index the cache in order to remove the translation lookaside buffer (TLB) access from the critical path.
#451227
(a) Performance can be improved by renaming register R1 in instruction [1], [2], and [3].
#451228
(b) Performance can be improved by renaming register R4 in instruction [5] and [6].
#451229
(c) Suppose the register-renamed version of the above code is resident in the RS in clock cycle N, with latencies LW = +4, SW = +1, ADDI=+0, SUB=+0, and BNZ=+2. The number of clock cycles taken by the code sequence is 14.
#451230
(a) Suppose that the RS is empty and the front end (decoder/register-renamer) will continue to supply two new instructions per clock cyclc. In cycle 0, the first two register-renamed instructions of this sequence appear in the RS. Assume it takes one clock cycle to dispatch any op in addition to the functional unit latencies. Then 9 clock cycles are required in the first iteration of this code sequence.
#451231
(b) Adding another ALU can save two clock cycles.
#451232
(c) Adding another LD/ST can save four clock cycles.
#451233
(a) The arithmetic intensity of this kernel is 1.
#451234
相關試卷
110年 - 110 國立臺灣大學_碩士班招生考試_電機工程研究所丙組:計算機結構與作業系統(A)#102089
110年 · #102089
109年 - 109國立臺灣大學_碩士班招生考試_電機工程研究所丙組:計算機結構與作業系統(A)#105855
109年 · #105855