阿摩線上測驗 登入

申論題資訊

試卷:110年 - 110 國立臺灣大學_碩士班招生考試_部分系所:計算機結構與作業系統(B)#102077
科目:台大◆資工◆計算機結構與作業系統(B)
年份:110年
排序:0

題組內容

6.(20 pts) Consider a SMP processor (Symmetric Multiprocessor) adopting the Write-Invalidate Snooping Cache Cohorence protocol. Each processor has a 4KiB direct-mapped, physically-addressed L1 cache with 16-byte cache lines. Three integer arrays A, B and C are placed contiguously in the memory in the order of A, B and C. The starting address of array A is 0x0000A000 (assuming 32-bit memory address). Processor Po and P1 execute the following code segment (the L1 cache is empty initially):
616637b63bd84.jpg

申論題內容

(d) (5 pts) if the cache line size becomes 32 bytes (the cache size is still 4KiB), how many coherence misses could occur in the worst case (d1)? How many of them are false-sharing misses(d2)?