Chip Multicore Processors - Tutorial 8: Task 8.1: Performance of Snooping-Based Cache Coherency
Chip Multicore Processors - Tutorial 8: Task 8.1: Performance of Snooping-Based Cache Coherency
1: 2: 3:
nomenclature: (CPU) read address and (CPU) write addresse, value. a) Give the changes of the cache entries of each sequence (separately) according to the MSI protocol. Use the following tables for the changes after each operation. Furthermore, give the delay of the whole sequence on execution.
2 sequence 1 Op CPU
Index
State
Tag
Data
sequence 2 Op CPU
Index
State
Tag
Data
sequence 3 Op CPU
Index
State
Tag
Data
b) To optimize the external accesses an owner state (O) is added to the cache coherency protocol. On a write, all other cache entries should be invalidated (write-invalidate). Instead of the memory the current owner will give the data on a read access of another cache. Sketch the modied diagramm of the MOSI protocol.
Invalid
Shared
Modified
Owner
3 c) Perform the same procedure as in part a for the MOSI protocol in the following tables.
sequence 1 Op CPU
Index
State
Tag
Data
sequence 2 Op CPU
Index
State
Tag
Data
sequence 3 Op CPU
Index
State
Tag
Data