subject

Apage-replacement algorithm should minimize the number of page faults. we can achieve this minimization by distributing heavily used pages evenly over all of memory, rather than having them compete for a small number of page frames. we can associate with each page frame a counter of the number of pages associated with that frame. then, to replace a page, we can search for the page frame wit the smallest counter.

define a page-replacement algorithm using this basic idea. specifically address these problems:

i. what is the initial value of the counters.

ii. when are counters increased

iii. when are counters decreased

iv. how is the page to be replaced selected?

b. how many pages faults occur for your algorithm for the following reference string with four page frames?

1,2,3,4,5,3,4,1,6,7,8,7,8,9,7,8,9,5 ,4,5,4,2

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:30
Where would you click to edit the chart data?
Answers: 1
question
Computers and Technology, 23.06.2019 06:30
You are consulting for a beverage distributor who is interested in determining the benefits it could achieve from implementing new information systems. what will you advise as the first step?
Answers: 1
question
Computers and Technology, 24.06.2019 14:30
Alison is having a hard time at work because hee inbox is flooded with emails every day. some of these emails are unsolicited. some of other she don’t need. which action should she take to better manager her emails?
Answers: 1
question
Computers and Technology, 24.06.2019 14:30
When workers demonstrate patience, are able to manage there emotions, and get along with other employees, which skills are being displayed?
Answers: 1
You know the right answer?
Apage-replacement algorithm should minimize the number of page faults. we can achieve this minimizat...
Questions
Questions on the website: 13722361