A computer uses virtual address, physical address, and a three–level paged page table organization. The page table base register stores the base address of the first-level table , which occupies exactly one page. Each entry of stores the base address of a page of the second-level table . Each entry of stores the base address of a page of the third-level table Each entry of stores a page table entry The is bits in size. The processor used in the computer has a way set associative virtually indexed physically tagged cache. The cache block size is bytes.
What is the size of a page in in this computer?
View worked solution
Answer: C
Let the page size be bytes. Thus, the page offset requires bits.
Since the virtual address is bits, the Virtual Page Number (VPN) has bits. This VPN is split into three parts for the three-level page table: bits for , bits for , and bits for . Therefore:
The size of a Page Table Entry (PTE) is . Assuming the entry size at all levels of the page table is bytes:
- Since occupies exactly one page, its size is bytes. The number of entries in is , which gives .
- Similarly, to index a single page of the next level table, we have and .
Substituting these values into the VPN equation:
Thus, the page size is .
Note: The cache details provided in the question are extra information and not required to solve for the page size.
Free practice · Your answers on this page are not saved.
