Suppose the page table for the process currently executing on the processor looks like the following. All numbers are decimals, everything is numbered starting from zero, and all addresses are memory byte addresses. The page size is 1024 bytes.
Virtual Page # | Valid bit | Reference bit | Modify bit | Page Frame # |
---|---|---|---|---|
0 | 1 | 1 | 0 | 4 |
1 | 1 | 1 | 1 | 7 |
2 | 0 | 0 | 0 | - |
3 | 0 | 0 | 0 | 2 |
4 | 0 | 0 | 0 | - |
5 | 1 | 0 | 1 | 0 |
Consider the following string of page references:
7, 0, 1, 2, 0, 3, 0, 4, 2, 3, 0, 3, 2
Complete a figure 8.14 (on slide 52) showing the frame allocation for :
List the total number of page faults and the miss rate for each policy. Count page faults only after all frames have been initialized.