CS FundamentalsHardGATE CS
Processes spend 60% of their time waiting for I/O, independently. Using CPU utilisation = 1 − pⁿ, what is the minimum degree of multiprogramming n for at least 90% utilisation, and what is the utilisation at that n?
- A. 5; about 92.2%
- B. 4; about 87.0%
- C. 6; about 95.3%
- D. 5; about 99.0%
Correct answer: A. 5; about 92.2%
Need 0.6ⁿ ≤ 0.1: 0.6⁴ = 0.1296 is too big, 0.6⁵ = 0.07776 works. So n = 5 with utilisation 1 − 0.0778 ≈ 92.2%.
More Operating Systems questions
- How many of these statements about CPU scheduling are correct? 1. SJF minimises average waiting time among non-preemptive algorithms when…
- Three jobs of 10 ms each arrive at time 0. Compare the average turnaround time under FCFS and under Round Robin with a 1 ms quantum (no…
- Assertion (A): Shortest Remaining Time First is optimal for average waiting time when preemption is free. Reason (R): Running the job with…
- A multilevel queue scheduler has a foreground (interactive, RR) queue with absolute priority over a background (batch, FCFS) queue, and…
- In a multilevel feedback queue, why do I/O-bound interactive processes tend to stay in the highest-priority queue?
- On a multiprocessor, the scheduler tries to keep a thread on the CPU it ran on last. Which benefit does this processor affinity provide…