
















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

















( a) Strict request-reply ( a) Intervention forwarding
( a) Reply forwarding
P1 P2 Bus Directory Memory step State Addr Value State Addr Value Action Proc. Addr Value Addr State {Procs} Value P1: Write 10 to A
P1: Read A P2: Read A
P2: Write 40 to A
A1 and A2 map to the same cache block
Processor 1 Processor 2 Interconnect Directory Memory
P1 P2 Bus Directory Memory step State Addr Value State Addr Value Action Proc. Addr Value Addr State {Procs} Value P1: Write 10 to A1 WrMs P1 A1 A1 Ex {P1} Excl. A1 10 DaRp P1 A1 0 P1: Read A1 Excl. A1 10 P2: Read A
P2: Write 40 to A
A1 and A2 map to the same cache block
Processor 1 Processor 2 Interconnect Directory Memory
A1 and A2 map to the same cache block
P1 P2 Bus Directory Memory step State Addr Value State Addr Value Action Proc. Addr Value Addr State {Procs} Value P1: Write 10 to A1 WrMs P1 A1 A1 Ex {P1} Excl. A1 10 DaRp P1 A1 0 P1: Read A1 Excl. A1 10 P2: Read A1 Shar. A1 RdMs P2 A Shar. A1 10 Ftch P1 A1 10 10 Shar. A1 10 DaRp P2 A1 10 A1 Shar. {P1,P2} 10 10 10 P2: Write 40 to A2 10
Processor 1 Processor 2 Interconnect Directory Memory
A1 and A2 map to the same cache block
P1 P2 Bus Directory Memory step State Addr Value State Addr Value Action Proc. Addr Value Addr State {Procs} Value P1: Write 10 to A1 WrMs P1 A1 A1 Ex {P1} Excl. A1 10 DaRp P1 A1 0 P1: Read A1 Excl. A1 10 P2: Read A1 Shar. A1 RdMs P2 A Shar. A1 10 Ftch P1 A1 10 10 Shar. A1 10 DaRp P2 A1 10 A1 Shar. {P1,P2} 10 Excl. A1 20 WrMs P2 A1 10 Inv. Inval. P1 A1 A1 Excl. {P2} 10 P2: Write 40 to A2 10
Processor 1 Processor 2 Interconnect Directory Memory
A1 and A2 map to the same cache block
P1 P2 Bus Directory Memory step State Addr Value State Addr Value Action Proc. Addr Value Addr State {Procs} Value P1: Write 10 to A1 WrMs P1 A1 A1 Ex {P1} Excl. A1 10 DaRp P1 A1 0 P1: Read A1 Excl. A1 10 P2: Read A1 Shar. A1 RdMs P2 A Shar. A1 10 Ftch P1 A1 10 10 Shar. A1 10 DaRp P2 A1 10 A1 Shar. {P1,P2} 10 Excl. A1 20 WrMs P2 A1 10 Inv. Inval. P1 A1 A1 Excl. {P2} 10 P2: Write 40 to A2 WrMs P2 A2 A2 Excl. {P2} 0 WrBk P2 A1 20 A1 Unca. {} 20 Excl. A2 40 DaRp P2 A2 0 A2 Excl. {P2} 0
Processor 1 Processor 2 Interconnect Directory Memory
P
M
LU Inv alidation Patterns
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0. 0
10
20
30
40
50
60
70
80
90
100
0 1 2 3 4 5 6 7 8 to 1112 to 1516 to 1920 to 2324 to 2728 to 3132 to 3536 to 3940 to 4344 to 4748 to 5152 to 5556 to 5960 to 63 # of inv alidations
Ocean Inv alidation Patterns
0
3.04 (^) 0.49 0.34 (^) 0.03 0 0.03 0 0 0 0 0 0 0 0 0 0 0 0 0. 0
10
20
30
40
50
60
70
80
90
0 1 2 3 4 5 6 7 8 to 1112 to 1516 to 1920 to 2324 to 2728 to 3132 to 3536 to 3940 to 4344 to 4748 to 5152 to 5556 to 5960 to 63 # of inv alidations
Barnes-Hut Inv alidation Patterns
5.33 2. 1.88 (^) 1.4 2.5^ 1.06 (^) 0.61 (^) 0.24 0.28 0.2 0.06 0.1 0.07 0 0 0 0 0. 0
5
10
15
20
25
30
35
40
45
50
0 1 2 3 4 5 6 7 8 to 1112 to 1516 to 1920 to 2324 to 2728 to 3132 to 3536 to 3940 to 4344 to 4748 to 5152 to 5556 to 5960 to 63 # of inv alidations
Radiosity Inv alidation Patterns
4.16 (^) 2.24 (^) 1.59 (^) 1.16 0.97 3.28 (^) 2.2 1.74 (^) 1.46 (^) 0.92 (^) 0.45 0.37 0.31 0.28 0.26 0.24 0.19 0.19 0. 0
10
20
30
40
50
60
0 1 2 3 4 5 6 7 8 to 1112 to 1516 to 1920 to 2324 to 2728 to 3132 to 3536 to 3940 to 4344 to 4748 to 5152 to 5556 to 5960 to 63
Ref: Chaiken, et al “Directory-Based Cache Coherence in Large-Scale Multiprocessors”, IEEE Computer, June 1990.
P 0 P 1 P 2 P (^3)
P 4 P 5 P 6 P (^7)
P 8 P 9 P 10 P 11
P 12 P 13 P 14 P (^15)
1
Over½ow bit 8-bit coarse vector
(a) Over½ow
P 0 P 1 P 2 P (^3)
P 4 P 5 P 6 P (^7)
P 8 P 9 P 10 P (^11)
P 12 P 13 P 14 P 15
0
Over½ow bit 2 Pointers
(a) No over½ow