2012 · 144 citations · 28 references
EngineeringComputer EngineeringComputer ScienceComputer ArchitectureHardware-software Co-designSchedulingCache CoherenceMemory ConsistencyMemory Consistency ModelsMemory Hierarchy OptimizationSpeculative ExecutionConsistencyConsistency SemanticsMemory OrderingRelaxed Memory ModelsSequential ConsistencySpeculative Execution EffectsSplashWrite Reordering
Although the sequential consistency (SC) model is the most intuitive, processor designers often choose to support relaxed memory consistency models for higher performance. This is because SC implementations that match the performance of relaxed memory models require post-retirement speculation and its associated hardware costs. In this paper we propose an efficient approach for enforcing SC without requiring post-retirement speculation. While prior SC implementations guarantee SC by explicitly completing memory operations within a processor in program order, we guarantee SC by completing conflicting memory operations, within and across processors, in an order that is consistent with the program order. More specifically, we identify those conflicting memory operations whose ordering is critical for the maintenance of SC and explicitly order them. This allows us to safely (non-speculatively) complete memory operations past pending writes, thus reducing memory ordering stalls. Our experiments with SPLASH-2 programs show that SC can be achieved efficiently, with performance comparable to RMO (relaxed memory order).
28
Steven Cameron Woo, Moriyoshi Ohara, Evan Torrie et al. · 1995 · 3.6K citations · Full text
Shared memory consistency models: a tutorial
Sarita V. Adve, Kourosh Gharachorloo · Computer · 1996 · 1.1K citations
The Mips R10000 superscalar microprocessor
K.C. Yeager · IEEE Micro · 1996 · 840 citations
Peter Sewell, Susmit Sarkar, Scott Owens et al. · Communications of the ACM · 2010 · 457 citations