CS5102 High Performance Computer Systems Memory

CS5102 High Performance Computer Systems Memory
1 / 1
CS5102 High Performance Computer Systems Memory - slide 1 of 36 CS5102 High Performance Computer Systems Memory - slide 2 of 36 CS5102 High Performance Computer Systems Memory - slide 3 of 36 CS5102 High Performance Computer Systems Memory - slide 4 of 36 CS5102 High Performance Computer Systems Memory - slide 5 of 36 CS5102 High Performance Computer Systems Memory - slide 6 of 36 CS5102 High Performance Computer Systems Memory - slide 7 of 36 CS5102 High Performance Computer Systems Memory - slide 8 of 36 CS5102 High Performance Computer Systems Memory - slide 9 of 36 CS5102 High Performance Computer Systems Memory - slide 10 of 36 CS5102 High Performance Computer Systems Memory - slide 11 of 36 CS5102 High Performance Computer Systems Memory - slide 12 of 36 CS5102 High Performance Computer Systems Memory - slide 13 of 36 CS5102 High Performance Computer Systems Memory - slide 14 of 36 CS5102 High Performance Computer Systems Memory - slide 15 of 36 CS5102 High Performance Computer Systems Memory - slide 16 of 36 CS5102 High Performance Computer Systems Memory - slide 17 of 36 CS5102 High Performance Computer Systems Memory - slide 18 of 36 CS5102 High Performance Computer Systems Memory - slide 19 of 36 CS5102 High Performance Computer Systems Memory - slide 20 of 36 CS5102 High Performance Computer Systems Memory - slide 21 of 36 CS5102 High Performance Computer Systems Memory - slide 22 of 36 CS5102 High Performance Computer Systems Memory - slide 23 of 36 CS5102 High Performance Computer Systems Memory - slide 24 of 36 CS5102 High Performance Computer Systems Memory - slide 25 of 36 CS5102 High Performance Computer Systems Memory - slide 26 of 36 CS5102 High Performance Computer Systems Memory - slide 27 of 36 CS5102 High Performance Computer Systems Memory - slide 28 of 36 CS5102 High Performance Computer Systems Memory - slide 29 of 36 CS5102 High Performance Computer Systems Memory - slide 30 of 36 CS5102 High Performance Computer Systems Memory - slide 31 of 36 CS5102 High Performance Computer Systems Memory - slide 32 of 36 CS5102 High Performance Computer Systems Memory - slide 33 of 36 CS5102 High Performance Computer Systems Memory - slide 34 of 36 CS5102 High Performance Computer Systems Memory - slide 35 of 36 CS5102 High Performance Computer Systems Memory - slide 36 of 36
CS5102 High Performance Computer Systems Memory Consistency Prof. Chung-Ta King Department of Computer Science National Tsing Hua University, Taiwan (Slides are from textbook, Prof. O. Mutlu, Prof. S. Adve, Prof. K. Pingali, Prof. A.

Related Topics

Download this presentation From Below

"CS5102 High Performance Computer Systems Memory" is the property of its rightful owner. Permission is granted to download and print the materials on this website for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.

Presentation Transcript

01
CS5102 High Performance Computer Systems Memory Consistency Prof. Chung-Ta King
Department of Computer Science
National Tsing Hua University, Taiwan (Slides are from textbook, Prof. O. Mutlu, Prof. S. Adve, Prof. K. Pingali, Prof. A. Schuster, Prof. R. Gupta)<br>
02
Outline Introduction
Centralized shared-memory architectures (Sec. 5.2)
Distributed shared-memory and directory-based coherence (Sec. 5.4)
Synchronization: the basics (Sec. 5.5)
Models of memory consistency (Sec. 5.6) 1<br>
03
As a Programmer, You Expect ... Threads/processors P1 and P2 see the same memory
Initially A = Flag = 0

P1 P2
A = 23; while (Flag != 1) {};
Flag = 1; ... = A;

P1 writes data into variable A and then sets Flag to tell P2 that data value can be read from A
P2 waits till Flag is set and then reads data from A 2<br>