What is Paging Hardware?
Paging hardware is the physical and logical support in a computer system that enables the use of paging as a memory management technique. It works together with the operating system to translate logical (virtual) addresses into physical addresses using page tables.
1. Page Table
2. Page Table Base Register (PTBR)
3. Page Number and Offset
4. Memory Management Unit (MMU)
Example of Address Translation:
Assume:
The MMU:
-
Uses Page Table Base Register (PTBR) to find the page table.
-
Looks up entry for Page 2 → finds Frame 5
-
Computes physical address = Frame 5 × 1024 + Offset = 5120 + 2 = 5122
Optimizations in Paging Hardware:
Translation Lookaside Buffer (TLB):
Multilevel Paging: