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

First-Come-First-<br />

Served (FCFS)<br />

Shortest Job First Priority Round Robin<br />

Non-Preemptive ✔ Fragile Fragile This is FCFS<br />

Pre-Emptive ? ✔ ✔ ✔<br />

• FCFS also is First In First Out (FIFO)<br />

• Non-Preemptive Scheduling is also called Cooperative Scheduling and relies on the processes to be<br />

“well-behaved” and to voluntarily relinquish the processor. Thus, it’s always fragile!<br />

• The advantage of Cooperative Scheduling is that, because the processes are designed to relinquish the<br />

processor, they can be designed to minimise the overhead of doing so. This is often a very big advantage<br />

in specialised situations, e.g. inside the kernel of an OS, where efficiency is paramount and processes can<br />

be trusted.<br />

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