The value of is ______________.
View worked solution
Answer: 5
To find the number of levels in the multi-level page table, we analyze the virtual address split:
- Page Offset:
The page size is .
Therefore, the page offset requires bits. - Virtual Page Number (VPN):
The total virtual address size is bits.
The bits allocated for the Virtual Page Number (VPN) are:
- Page Table Entry (PTE) per Page:
Each page table at any level must fit within a single page of size .
Given that each Page Table Entry (PTE) is :
Thus, each level of the page table indexes exactly bits of the virtual address. - Number of Levels ():
Since each level translates bits of the VPN, the number of levels required to translate the -bit VPN is:
Thus, the value of is 5.
Free practice · Your answers on this page are not saved.
