Relocation Hardware

Paging

  1. Page Frames: Partition physical memory into equal chunks (e.g. 4kb)
  2. Virtual Pages (page): Divide the process’ memory into the same chunks
  3. Any page can be assigned to any free frame

Page Table: Store VA (virtual addr) to PA (physical addr) page lookup table per proc

Page Table Entry (PET) ⭐️

Page Table Design

Problem: Page tables take up a lot of space ($2^{20}\cdot 4k=4M$ for each process)

Dynamic Paging: Grow page table as needed

Segmented Paging: Each segment has their own page tables

Two-Level Hierarchical Page Table: Split page into page directory PDI and page table index PTI

64-Bit Virtual Address: 48 bits used, 4 level page tables (9 bits each)

Untitled