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.

Scheduling algorithms<br />

• Priority scheduling [preemptive or non-preemptive]<br />

◾ Like SJF scheduling, priority scheduling can be either preemptive or non-preemptive<br />

• Preemptive: the currently executing process is preempted if another higher priority process arrives on the ready queue<br />

• Non-preemptive: the currently executing process is allowed to complete its current CPU burst<br />

◾ Priority scheduling has the potential to starve low priority processes of access to the CPU<br />

◾ A possible solution is to implement an aging scheme<br />

• Periodically decrement the priority value of waiting processes (increasing their priority)<br />

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