GATE / CS ARCHIVE

GATE CSE 2004 / QUESTION 12

Disk scheduling with one outstanding request

Operating Systems · I/O & Disk Scheduling · Full GATE CSE 2004 paper

GATE 2004, Q12 1 mark · MCQ
Report issue

I/O & Disk Scheduling

Question 12, GATE 2004: An OS can load and execute one sequential user process at a time. FCFS disk scheduling is replaced by SSTF, advertised as giving 50% better benchmark performance. What improvement in user-program I/O performance is expected? The usual one-outstanding-request assumption is not explicitly stated.
Options:
(A) 50%
(B) 40%
(C) 25%
(D) 0%
Question 12, GATE 2004: An OS can load and execute one sequential user process at a time. FCFS disk scheduling is replaced by SSTF, advertised as giving 50% better benchmark performance. What improvement in user-program I/O performance is expected? The usual one-outstanding-request assumption is not explicitly stated.
Options:
(A) 50%
(B) 40%
(C) 25%
(D) 0%
Tap to enlarge
Your answer
Answer & solution

Answer: D under synchronous single-request I/O (no official key was published)

1. If the single sequential process blocks for each disk request, there is never a choice among queued requests. FCFS and SSTF therefore execute the same sequence, giving 0% improvement, D; a benchmark with concurrency does not transfer to this case.

2. The premise of one sequential process alone does not prohibit asynchronous I/O, readahead or background requests. Without the one-outstanding-request assumption, the improvement is not determined by the stated facts.

3. Teaching check: A seek scheduler can improve ordering only when it can choose between multiple pending requests. With exactly one pending request, both rules choose it. “50% better” on another workload is not evidence for this workload; asynchronous requests would require further information.

Original paper, page 2