edited by
1,921 views
0 votes
0 votes
Consider a demand-paging system with the following time-measured
utilizations:
CPU utilization 20%
Paging disk 97.7%
Other I/O devices 5%
For each of the following, indicate whether it will (or is likely to) improve
CPU utilization. Explain your answers.
a. Install a faster CPU.
b. Install a bigger paging disk.
c. Increase the degree of multiprogramming.
d. Decrease the degree of multiprogramming.
e. Install more main memory.
f. Install a faster hard disk or multiple controllers with multiple hard
disks.
g. Add prepaging to the page-fetch algorithms.
h. Increase the page size.
edited by

1 Answer

0 votes
0 votes
    a. Get a faster CPU - No.
	b. Get a bigger paging disk - No.
	c. Increase the degree of multiprogramming - No.
	d. Decrease the degree of multiprogramming - Yes.
	e. Install more main memory - Likely to improve CPU utilization as 
	more pages can remain resident and not require paging to or from the
	disks.
	f. Install a faster hard disk, or multiple controllers with multiple
	hard disks -  Also an improvement, for as the disk bottleneck is
	removed by faster response and more throughput to the disks, the
	CPU will get more data more quickly.
	g. Add prepaging to the page fetch algorithms - Again, 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 prefetching (i.e., some of the access is sequential).
	h. 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.

Related questions

0 votes
0 votes
1 answer
2
0 votes
0 votes
1 answer
3
Ankita87077 asked Dec 6, 2021
1,227 views
Is this statement correct? " Demad paging can bring entire process into memory at load time"How it is correct? If it is, then anybody can explain it please.