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.

Disk scheduling<br />

• So, the order in which sectors are read has a significant influence on I/O performance<br />

◾ Most file systems will try to arrange files on disk so large portions of the file are contiguous<br />

◾ Below the file system level, even if files are not contiguous, the operating system or disk device driver can try<br />

to order operations so seek times are minimised<br />

• Disk scheduling algorithms<br />

◾ When a process needs to perform disk I/O, a request is issued to the operating system’s I/O manager<br />

◾ The operating system creates a descriptor for the operation<br />

◾ If there are no other pending requests (from the same or other processes) then the request can be scheduled<br />

immediately and performance is not an issue<br />

◾ If multiple disk accesses are queued up at the same time, the OS can improve I/O bandwidth and/or latency<br />

through sensible ordering of the queued I/O operations<br />

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