CS FundamentalsEasyGATE CS (PYQ pattern)

A machine has 2 GB of RAM; the OS occupies 512 MB and every user process needs 192 MB, so as many whole processes as fit are kept in memory. Each process waits for I/O 80% of the time, independently (CPU utilisation = 1 - p^n). By how many percentage points does CPU utilisation rise if 1 GB more RAM is added?

  1. A. 11.3
  2. B. 7.9
  3. C. 11.7
  4. D. 0.0003

Correct answer: A. 11.3

Before: (2048 - 512) / 192 = 8 processes, utilisation 1 - 0.8^8 = 0.832. After: (3072 - 512) / 192 = 13.33, so 13 processes, 1 - 0.8^13 = 0.945. Rise = 11.3 points. Forgetting the OS share (10 and 16 processes) gives 7.9; using 13.33 processes gives 11.7; using 0.2 as the wait probability gives almost 0.

More Operating Systems questions

Exams that ask this topic