TLB Performance Seung Ki Lee What is TLB

TLB Performance Seung Ki Lee

What is TLB

What is TLB Table Lookaside Buffer - A Type of Cache - Part of MMU - Stores Virtual & Physical Address - “Looks Aside” at the TLB at Translation

What is TLB Table Lookaside Buffer

How does TLB work

How does TLB work Virtual Memory Translation - Holds Translations of Virtual Address to Physical Address - Stores Most Recently Used

How does TLB work Virtual Memory Translation

Advantages of Having TLB

Advantages of TLB How Much Faster is it?

Advantages of TLB How Much Faster is it?

Calculating TLB Performance

Calculating TLB Performance Average Performance

Calculating TLB Performance Average Performance

Calculating TLB Performance Average Performance

Calculating TLB Performance Average Performance

Handling Page Faults and TLB Misses

Handling Page Faults and TLB Misses

Handling Page Faults and TLB Misses Hardware Page Structure built into MMU OS automatically steps in -> More Efficient

Entire Page Structure built into MMU Handling Page Faults and TLB Misses -> Expensive Production -> Smaller TLB size -> More Frequent TLB Misses Hardware Good for data TLB where TLB Misses are inevitable

Handling Page Faults and TLB Misses Software Page Fault will send interrupt to OS Larger TLB -> Better Hit rate -> Less Frequent TLB Misses

Handling Page Faults and TLB Misses Software Longer time to deal with each miss -> More expensive TLB miss penalty Good for Instruction TLB with temporally local memory access

Questions
- Slides: 22