12.07.2015 Views

EECC756 - Shaaban

EECC756 - Shaaban

EECC756 - Shaaban

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Cache Coherence in Shared MemoryMultiprocessors• Caches play a key role in all shared memory multiprocessor systemvariations:– Reduce average data access time (AMAT).– Reduce bandwidth demands placed on shared interconnect.• Replication in cache reduces artifactual communication.• Cache coherence or inconsistency problem.– Private processor caches create a problem:• Copies of a variable can be present in multiple caches.• A write by one processor may not become visible to others:– Processors accessing stale (old) value in their private caches.• Also caused by:– Process migration.– I/O activity.– Software and/or hardware actions needed to ensure:• 1- Write visibility to all processors 2- in correct orderthus maintaining cache coherence.• i.e. Processors must see the most updated value<strong>EECC756</strong> - <strong>Shaaban</strong>#11 lec # 10 Spring2013 4-30-2013

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!