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.

Memory-management: the OS perspective<br />

• What are we interested in from an OS perspective?<br />

◾ Page fault handling<br />

• The goal of the operating system is to attempt to minimise the occurrence of page faults, which are<br />

expensive<br />

◾ Need to decide which physical memory page to use<br />

◾ Need to perform I/O<br />

◾ Another process needs to be scheduled to run during the I/O, resulting in a context switch<br />

• We will look at several policies used by the OS to perform memory management<br />

◾ The key questions are:<br />

• When should a page be loaded?<br />

• Where (in physical memory) should it be loaded?<br />

172<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!