Questions: Translation Lookaside Buffer (TLB) Design

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A processor uses 4 KB pages and has a fully loaded 64-entry TLB. What is the maximum total memory range that could be covered without a TLB miss?

A64 bytes — each TLB entry covers one byte
B64 KB — one byte per entry times 1,024 entries
C256 KB — 64 entries × 4 KB per page
D4 MB — each TLB entry caches an entire 4 MB segment
Question 2 Multiple Choice

On a MIPS processor (software-managed TLB), what happens when the CPU encounters a TLB miss?

AThe processor halts until the user program re-issues the memory access
BThe hardware automatically walks the page table and fills the TLB entry
CA TLB miss exception is raised, and the OS trap handler looks up the translation and loads it into the TLB
DThe memory access is aborted and the process is killed with a segmentation fault
Question 3 True / False

Because the TLB is fully associative, each virtual page number typically maps to the same fixed TLB slot, just like a direct-mapped cache.

TTrue
FFalse
Question 4 True / False

TLB entries typically include protection bits that specify read, write, and execute permissions for the corresponding page.

TTrue
FFalse
Question 5 Short Answer

Why is the TLB necessary given that modern processors already have L1, L2, and L3 caches for fast data access?

Think about your answer, then reveal below.