Assume a demand-paged memory management system with the following…
Assume a demand-paged memory management system with the following characteristics:
page size = 2^12 bytes
physical address space = 2^24 bytes
logical address space = 2^32 bytes
TLB size = 2^6 bytes
How many page table entries can fit in the TLB if each entry contains only the information needed for logical-to-physical translation?
Answer: 16 — Logical address space = 32 bits,page number = 20 bits; offset = 12 bits In TLB, need page number (20 bits), frame number (12) = 32 bits for each entry = 4…
Attempted by 130 students.
Show answer & explanation
Correct answer: 16
Logical address space = 32 bits,page number = 20 bits; offset = 12 bits In TLB, need page number (20 bits), frame number (12) = 32 bits for each entry = 4 bytes for each entry TLB = 26 bytes or 64 bytes/4 bytes = 16 entries