1
title: Correct answer.2
Virtual address is bits wide. Physical address is bits side. Page size is . Page table has bit wide entries.
-
How many bits correspond to the page number and the offset (within the page)? We have total bits for the address, the page offset needs bits, so:
- bits for the offset
- bits for the page number
-
How many pages fit into the physical memory?
-
Where are virtual pages , and located?
- is currently in memory at physical page
- is currently in memory at physical page
- is currently not in memory
-
Modify the content of the page table.
Index Valid Bit Physical Page # 0 1 5 1 1 7 2 1 6 3 1 2 4 0 - 5 0 - 6 0 - 7 0 - 8 0 - 9 0 - 10 0 - 11 1 1 12 1 0 13 1 3 14 0 - 15 1 4
title: Correct answers.3
Assume the page table of a system is stored in main memory. Suppose a main memory access takes . The page fault rate is . Accessing a page not in main memory takes .
Calculate the EAT.
title: Correct answer.