24.10.2013 Views

Using Kilim's isolation types for multicore efficiency

Using Kilim's isolation types for multicore efficiency

Using Kilim's isolation types for multicore efficiency

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.

How should we react?<br />

Shared memory and parallelism is problematic:<br />

• hard to write correct code (locks, mfence etc. needed)<br />

• sequential consistency surprises in semantics<br />

• cache effect surprises in per<strong>for</strong>mance<br />

UNIVERSITYOF<br />

CAMBRIDGE<br />

But lots of these problems go away if the programmer knows when<br />

shared data is logically being transferred between cores.<br />

Type systems (richer than usual) can express and en<strong>for</strong>ce this . . .<br />

<strong>Using</strong> Kilim’s <strong>isolation</strong> <strong>types</strong> <strong>for</strong> <strong>multicore</strong> <strong>efficiency</strong> 17 FoVeOOS’2011

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

Saved successfully!

Ooh no, something went wrong!