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 />

• Multi-level feedback queue scheduling<br />

◾ When a process arrives on the ready queue (a new process or a process that has completed waiting for an<br />

event), it is placed on the highest priority queue<br />

◾ Processes in the highest priority queue have a quantum of 8ms<br />

◾ If a high priority process does not end its CPU burst within 8ms, it is preempted and placed on the next lowest<br />

priority queue<br />

◾ When the highest priority queue is empty, processes in the next queue are given 16ms time slices, and the<br />

same behaviour applies<br />

◾ Finally, processes in the bottom queue are serviced in FCFS order<br />

◾ We can change<br />

• number of queues<br />

• queuing discipline<br />

• rules for moving process to higher or lower priority queues<br />

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