CSC 456 Spring 2012/10b CP: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
m (→‎Models in Use: Added markup for sections)
Line 2: Line 2:


== Models in Use ==
== Models in Use ==
Strict Consistency
===Strict Consistency===
Sequential Consistency
===Sequential Consistency===
Weak Consistency
===Weak Consistency===


== Performance ==
== Performance ==

Revision as of 17:36, 23 April 2012

Romanescu, Lebeck, and Sorin make a great point that "The most important feature of a computer is correct execution." Computers are expected to produce correct output consistently. Memory consistency -- the intentional ordering of all reads and writes to memory addresses (Solihin) -- plays a crucial role in guaranteeing that the results of running a program are the results intended by the programmer. Maintaining memory consistency is a problem on all multiprocessor machines (Solihin).

Models in Use

Strict Consistency

Sequential Consistency

Weak Consistency

Performance

From best to worst: Weak Consistency Sequential Consistency Strict Consistency