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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Disk scheduling algorithms (3)<br />

• C-SCAN scheduling<br />

◾ Circular-SCAN scheduling<br />

◾ Similar to SCAN, but the worst case service time is reduced<br />

◾ Like SCAN, the head moves in one direction servicing requests along the way<br />

◾ However, unlike SCAN, instead of servicing requests in the opposite direction, the head is returned<br />

immediately to the opposite edge and starts servicing requests again in the same direction<br />

• SCAN and C-SCAN continuously move the head from one extreme of the disk to the other<br />

◾ In practice, if there are no further requests in the current direction, the head reverses its direction immediately<br />

◾ These modifications are referred to as the LOOK and C-LOOK scheduling algorithms<br />

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