+1 vote
153 views
in Compilers & Operating Systems by

1 Answer

+1 vote
by
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

+2 votes
1 answer 1.9k views
+1 vote
1 answer 182 views
+1 vote
1 answer 622 views
+1 vote
1 answer 831 views
+1 vote
1 answer 97 views
+1 vote
1 answer 486 views
+1 vote
1 answer 179 views
+1 vote
1 answer 583 views
+1 vote
1 answer 470 views
+3 votes
1 answer 3.4k views
+1 vote
1 answer 94 views
+1 vote
1 answer 153 views
+1 vote
1 answer 95 views
+1 vote
1 answer 189 views
+2 votes
1 answer 348 views
+1 vote
1 answer 97 views
+1 vote
1 answer 370 views
+1 vote
1 answer 147 views
+1 vote
1 answer 117 views
asked Sep 28, 2021 in Others by anonymous
+1 vote
1 answer 117 views
+1 vote
1 answer 97 views
+1 vote
1 answer 91 views
+1 vote
0 answers 65 views
+1 vote
1 answer 90 views
+1 vote
1 answer 401 views
+1 vote
1 answer 114 views
+1 vote
1 answer 76 views
+1 vote
1 answer 579 views
+1 vote
1 answer 182 views
+1 vote
1 answer 126 views
+1 vote
1 answer 131 views
+1 vote
1 answer 71 views
+1 vote
1 answer 168 views
+1 vote
1 answer 924 views
+2 votes
1 answer 124 views
+1 vote
1 answer 70 views
+1 vote
1 answer 581 views
0 votes
1 answer 198 views
+2 votes
1 answer 209 views
0 votes
1 answer 152 views
0 votes
1 answer 7 views
+1 vote
1 answer 26 views
Welcome to CPENTalk.com
Solution-oriented students of computer engineering on one platform to get you that

ONE SOLUTION

...