Week 5 Page Table Exercise

3
28 Exercise ! Consider a system with 36-bit physical memory addresses and 32-bit virtual memory addresses. Pages are of size 8kB (2 13 bytes) and page table entries are 4 bytes each. ! If the system uses single level page tables, how much memory is used by the page table for a process? ! If the system uses two-level page tables, how much memory is used by the page table for a process using 1GB (2 30 bytes)? You have 2 minutes

description

Week 5 Page Table Exercise

Transcript of Week 5 Page Table Exercise

Page 1: Week 5 Page Table Exercise

28

Exercise

!  Consider a system with 36-bit physical memory addresses and 32-bit virtual memory addresses. Pages are of size 8kB (213 bytes) and page table entries are 4 bytes each.

!  If the system uses single level page tables, how much memory is used by the page table for a process?

!  If the system uses two-level page tables, how much memory is used by the page table for a process using 1GB (230 bytes)?

You have 2 minutes

Page 2: Week 5 Page Table Exercise

29

Page 3: Week 5 Page Table Exercise

30