Bird
Raised Fist0

If a disk scheduler using SSTF is modified to include aging (increasing priority of waiting requests over time), what is the expected impact on starvation and average seek time?

hard🎤 Interviewer Follow-up Q10 of Q15
Operating Systems - Disk Scheduling - SSTF, SCAN, C-SCAN
If a disk scheduler using SSTF is modified to include aging (increasing priority of waiting requests over time), what is the expected impact on starvation and average seek time?
AAverage seek time decreases because aging prioritizes closer requests
BStarvation remains because aging does not affect request selection order
CStarvation is eliminated but average seek time may increase due to servicing older distant requests
DBoth starvation and average seek time remain unchanged
Step-by-Step Solution
Solution:
  1. Step 1: Understand aging in SSTF

    Aging increases priority of waiting requests, preventing indefinite postponement (starvation).
  2. Step 2: Analyze impact on seek time

    Servicing older, possibly distant requests earlier increases average seek time compared to pure SSTF.
  3. Step 3: Conclude trade-off

    Eliminating starvation comes at the cost of increased average seek time.
  4. Final Answer:

    Option C -> Option C
  5. Quick Check:

    Aging trades off starvation for higher average seek time [OK]
Quick Trick: Aging prevents starvation but may increase seek time [OK]
Common Mistakes:
MISTAKES
  • Assuming aging has no effect
  • Believing aging reduces seek time
Trap Explanation:
PITFALL
  • Candidates overlook trade-offs, expecting aging to improve all metrics.
Interviewer Note:
CONTEXT
  • Tests understanding of trade-offs in algorithm modifications.
Master "Disk Scheduling - SSTF, SCAN, C-SCAN" in Operating Systems

2 interactive learning modes - each teaches the same concept differently

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Operating Systems Quizzes