SELECTED FOR PROC OF THE IEEE SPECIAL ISSUE ON DISTRIBUTED SHARED MEMORY NOT THE FINAL VERSION
Recent Advances in Memory Consistency Mo dels for
Hardware Shared Memory Systems
Sarita V Adve Vijay S Pai and Parthasarathy Ranganathan
Department of Electrical and Computer Engineering
Rice University
Houston Texas
rsim ece rice edu
Abstract sp eci cation that determines what values the programmer
The memory consistency mo del of a shared memory sys
can exp ect a read to return
tem determines the order in which memory op erations will
Unipro cessors provide a simple memory consistency
app ear to execute to the programmer The memory consis
tency mo del for a system typically involves a tradeo b e
mo del to the programmer that ensures that memory op era
tween p erformance and programmability This pap er pro
tions will app ear to execute one at a time and in the order
vides an overview of recent advances in hardware optimiza
sp eci ed by the program or program order Thus a read
tions compiler optimizations and programming environ
in a unipro cessor returns the value of the last write to the
ments relevant to memory consistency mo dels of hardware
distributed shared memory systems
same lo cation where last is uniquely de ned by the pro
We discuss recent hardware and compiler optimizations
gram order Unipro cessor hardware and compilers