CS FundamentalsHardGATE CS
Under a fair-share / proportional-share scheduler, user A runs 1 process and user B runs 4 processes, all CPU-bound, and the two users have equal shares. What fraction of the CPU does EACH of B's processes get?
- A. 20%
- B. 12.5%
- C. 25%
- D. 50%
Correct answer: B. 12.5%
Fair share divides first between users (50% each), then among each user's processes: B's 50% is shared by 4, so 12.5% each. Plain process-level RR would give 20% each.
More Operating Systems questions
- Lottery scheduling gives process A 30 tickets, B 20 and C 50. Over many scheduling decisions, what fraction of the time does B run, and…
- In real-time scheduling, three periodic tasks have (execution time, period) = (1, 4), (2, 6), (1, 8), with deadline = period. Which…
- Two periodic tasks: T1 (execution 2, period 5) and T2 (execution 4, period 7), deadlines equal to periods. Which statement is correct?
- Priority inversion: low-priority L holds a mutex needed by high-priority H, and medium-priority M (which does not need the mutex) keeps…
- Which property distinguishes a mutex from a binary semaphore in most implementations?
- A spinlock is held for about 50 ns on average, and a context switch costs about 5 µs. On a multicore machine, which is better for a thread…