1

title: Correct answer.

2

Virtual address is bits wide. Physical address is bits side. Page size is . Page table has bit wide entries.

  1. 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
  2. How many pages fit into the physical memory?

  3. 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
  4. Modify the content of the page table.

    IndexValid BitPhysical Page #
    015
    117
    216
    312
    40-
    50-
    60-
    70-
    80-
    90-
    100-
    1111
    1210
    1313
    140-
    1514
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.