22.01.2014 Views

PCS - Part 2: Multiprocessor Architectures

PCS - Part 2: Multiprocessor Architectures

PCS - Part 2: Multiprocessor Architectures

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Shared Memory and Caching<br />

Caches are used in order to release network and main<br />

memory from frequent data transfer<br />

Non–shared data can be kept in caches for a long time<br />

without interaction with main memory<br />

This improves scalability of the system, but introduces a<br />

consistency problem. This problem is solved by cache<br />

coherency protocols.<br />

Consistency problem:<br />

P1<br />

Consistent<br />

P2<br />

P1<br />

Inconsistent<br />

P2<br />

Write 23, 2500<br />

23: 1000<br />

23: 1000<br />

23: 1000<br />

23: 2500<br />

23: 1000<br />

23: 1000<br />

23: 2500<br />

after "write−back"<br />

Peter Sobe<br />

<strong>PCS</strong> - <strong>Part</strong> 2: <strong>Multiprocessor</strong> <strong>Architectures</strong>

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

Saved successfully!

Ooh no, something went wrong!