5,114 views
0 votes
0 votes
Consider the following page reference string:

$7, 2, 3, 1, 2, 5, 3, 4, 6, 7, 7, 1, 0, 5, 4, 6, 2, 3, 0 , 1.$

Assuming demand paging with three frames, how many page faults would occur for the following replacement algorithms ?

$•$ $LRU$ $replacement$
$•$ $FIFO$ $replacement$
$•$ $Optimal$ $replacement$

1 Answer

0 votes
0 votes

LRU replacement => 18
FIFO replacement => 17
Optimal replacement => 13

 

Related questions

921
views
0 answers
1 votes
akash.dinkar12 asked Mar 21, 2019
921 views
When a page fault occurs, the process requesting the page must block while waiting for the page to be brought from disk into physical memory. Assume that there ... also have to wait for the faulting page to be brought into memory? Explain.
323
views
1 answers
0 votes
akash.dinkar12 asked Mar 21, 2019
323 views
Assume that we have a demand-paged memory. The page table is held in registers. It takes $8$ milliseconds to service a page fault if an empty frame is ... page-fault rate for an effective access time of no more than $200$ nanoseconds ?
428
views
0 answers
0 votes
akash.dinkar12 asked Mar 21, 2019
428 views
A certain computer provides its users with a virtual memory space of $2^{32}$ bytes. The computer has $2^{22}$ bytes of ... the system establishes the corresponding physical location. Distinguish between software and hardware operations.
451
views
0 answers
0 votes
akash.dinkar12 asked Mar 21, 2019
451 views
What is the copy-on-write feature, and under what circumstances is its use beneficial ? What hardware support is required to implement this feature ?