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.

Fetch policy<br />

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

◾ Two alternatives<br />

• Demand Paging<br />

◾ Pages are loaded into memory only when they are first referenced<br />

◾ When a process is started, there will be a number of page faults in quick succession<br />

◾ Locality of reference: over a short period of time, most memory references are to a small number of pages<br />

• The pages references changed relatively slowly over time<br />

• Prepaging (performed in addition to demand paging)<br />

◾ Takes advantage of the characteristics of disk devices<br />

• Seek times and rotational latency<br />

◾ If a number of pages are contiguous in secondary storage, it is more efficient to load the contiguous pages,<br />

even though they haven’t been referenced yet<br />

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