Multi-level page tables - hierarchical paging

后端 未结 2 1198
名媛妹妹
名媛妹妹 2021-01-30 23:29

Example question from a past operating system final, how do I calculate this kind of question?

A computer has a 64-bit virtual address space and 2048-byte pages. A page

2条回答
  •  终归单人心
    2021-01-30 23:53

    • Logical Address bit=64,
    • Number of page will be= 2^64/2048 = 2^64/2^11 = 2^53
    • Pages we have entry sine of page table= 4 Byte ,
    • Number of Entry in 1 Page will be= 2048/4=>512,
    • bit To represent one Entry=Log(512)=9bit,
    • and bit for Page is= 53bit
    • Therefore Number of Level =53/9=>6 Level Page Table

提交回复
热议问题