Question

From the given formula, we can compute the CPU utilization:

CPU Utilization = 1 - P^n

Where p is the probability of I/O and n is the total number of processes.

E.g, If we were to find CPU utilization if the computer has enough room to hold four programs in its main memory. These programs are idle waiting for I/O half of the time. that would be:

CPU Utilization % = 1 - (.5)^4 = .93

But If CPU utilization was given e.g. 0.93 and probability of I/O e.g. 0.5 then how can I find n?

This is what I tried:

Log(CPU Utilization) = Log(1) - nLog(.5)

  • Log(.93) / Log(.5) = n

But that gives me about

-0.10470

which is nowhere close to 4.

What am I missing?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with cs.stackexchange
scroll top