a page-replacement algorithm should minimize the number of page
a page-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 with the smallest counter.a. 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 page 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.c. what is the minimum number of page faults for an optimal page replacement strategy for the reference string in part b with four page frames?
Price Type: Negotiable
Total Proposals: 8
1 Current viewersl
34 Total views
Proposals Reputation Price offered
- 60 Jobs 32 Reviews $90 in 2 Days