GATE / CS ARCHIVE

GATE CSE 2007 / QUESTION 16

Scheduling algorithm applications

Operating Systems · CPU Scheduling · Full GATE CSE 2007 paper

GATE 2007, Q16 1 mark · MCQ
Report issue

CPU Scheduling

Question 16, GATE 2007: Match CPU scheduling algorithms P: Gang, Q: Rate Monotonic, R: Fair Share with applications 1: Guaranteed Scheduling, 2: Real-time Scheduling, 3: Thread Scheduling.
Options:
(A) P-3,Q-2,R-1
(B) P-1,Q-2,R-3
(C) P-2,Q-3,R-1
(D) P-1,Q-3,R-2
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

1. Approach. Gang scheduling groups collaborating threads; rate monotonic assigns priorities from task periods; fair share divides capacity between users or groups rather than only individual runnable processes.

2. Derivation and interpretation. Gang scheduling coordinates related threads, P→3. Rate-monotonic priorities schedule periodic real-time tasks, Q→2. Fair-share scheduling aims to guarantee users/groups an allocated CPU share, R→1. Thus A.

Original paper, page 4