01.06.2014 Views

Concurrent Systems II - Bad Request - Trinity College Dublin

Concurrent Systems II - Bad Request - Trinity College Dublin

Concurrent Systems II - Bad Request - Trinity College Dublin

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.

Resident set management<br />

• Variable allocation<br />

◾ Processes suffering from many page faults can be allocated more page frames<br />

◾ Processes with few page faults can have their allocation reduced<br />

◾ This appears to be more powerful than fixed allocation<br />

• With fixed allocation, we are stuck with the decision made a load-time – the ideal resident set size may vary depending<br />

on input to the program<br />

• And how to we calculate the working set size in the first place<br />

• However, it is also more expensive to implement<br />

• Variable allocation raises another question …<br />

◾ Should the set of candidate pages for replacement be restricted to the pages already allocated to the process<br />

that caused the page fault?<br />

◾ Two choices:<br />

• Variable allocation – global scope<br />

• Variable allocation – local scope<br />

181<br />

<strong>Trinity</strong> <strong>College</strong> <strong>Dublin</strong><br />

© Mike Brady 2007–2009

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

Saved successfully!

Ooh no, something went wrong!