in Operating System edited by
606 views
0 votes
0 votes

Consider a demand-paging system with the following time-measured utilization:

$\begin{array}{ll} \text{COU Utilization} & 20 \% \\ \text{Paging disk} & 97.7 \% \\ \text{Other I/O devices} & 5 \% \end{array}$

Which of the following will probably improve CPU utilization?

  1. Increase the degree of multiprogramming
  2. Add pre paging to the page fetch algorithms
  3. Increase the page size
  4. none of the above
in Operating System edited by
by
606 views

1 Answer

6 votes
6 votes
Best answer
A Increasing degree of multiprogramming will result in more trashing resulting in less CPU utilization.

 B  Add pre paging to the page fetch algorithms The CPU will get more data faster, so it will be more in use. This is only the case if the paging action is amenable to pre fetching (i.e., some of the access is sequential).

 C  Increase the page size Increasing the page size will result in fewer page faults if data is being accessed sequentially. If data access is more or less random, more paging action could ensue because fewer pages can be kept in memory and more data is transferred per page fault. So this change is as likely to decrease utilization as it is to increase it.
selected by

4 Comments

IN C WHAT U MEANT BY  Increasing the page size will result in fewer page faults if data is being accessed sequentially. ?

NO WE USE TLB FOR THAT , AND THEY WILL DECREASE TIME WHETHER YOU SEARCH SEQUENTIALLY OR NOT.

YA IF THE PAGE IS NOT FOUND IN TLB THEN IT LEADS TO MORE TIME WHICH LEADS TO  decrease utilization
–1
–1

sir, 

answer given here also supports option C

http://cseweb.ucsd.edu/classes/fa10/cse120/hw/hw4-sol.pdf

0
0
@Harsh

For option C ,

it depends how we access pages, either by sequential or random access , it is not a general case .

If it is sequential access then increase CPU utilization as less page fault occur.  Sequentially means in some order like locality of reference .

If it is random access then more page fault hence decrease cpu utilization .

So that's why this option is not considered .
0
0
@bikram sir, what is meant by adding pre pages?
1
1
Answer:

Related questions