+1 vote
25 views

1 Answer

+1 vote
by (user.guest)
selected by (user.guest)
 
Best answer

TLB Issues

• Updating TLB tricky if it is full: need to discard something.

• Context switch may requires TLB flush so that next process doesn’t use wrong page table entries. 

– Today many TLBs support process tags (sometimes called address space numbers) to improve performance. 

• Hit ratio is the percentage of time a page entry is found in TLB

• e.g. consider TLB search time of 20ns, memory access time of 100ns, and a hit ratio of 80% 

⇒ assuming one memory reference required for page table lookup, the effective memory access time is 

0.8 × 120 + 0.2 × 220 = 140ns. 

• Increase hit ratio to 98% gives effective access time of 122ns — only a 13% improvement.

Related questions

+1 vote
1 answer
+1 vote
1 answer
+1 vote
1 answer
+1 vote
1 answer
+1 vote
1 answer
+1 vote
1 answer
+1 vote
1 answer
+1 vote
1 answer
+1 vote
1 answer
Welcome to CPEN Talk
Solution-oriented students of computer engineering on one platform to get you that

ONE SOLUTION

...