Consider a TLB with 3 entries that uses an LRU (least recently used) algorithm. Assume the following sequence of virtual page number accesses: Virtual page 9, then Virtual page 7, then Virtual page 9, then Virtual page 5, then Virtual page 3, then Virtual page 7, then Virtual page 5, then Virtual page 3, then Virtual page 3, then Virtual page 2 What was the TLB hit rate (as a percentage)? the 2 ends up in slot (0-2)??

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter17: Linked Lists
Section: Chapter Questions
Problem 1TF
icon
Related questions
Question

Consider a TLB with 3 entries that uses an LRU (least recently used) algorithm. Assume the following sequence of virtual page number accesses:

  1. Virtual page 9, then
  2. Virtual page 7, then
  3. Virtual page 9, then
  4. Virtual page 5, then
  5. Virtual page 3, then
  6. Virtual page 7, then
  7. Virtual page 5, then
  8. Virtual page 3, then
  9. Virtual page 3, then
  10. Virtual page 2

What was the TLB hit rate (as a percentage)?

the 2 ends up in slot (0-2)??

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Follow-up Questions
Read through expert solutions to related follow-up questions below.
Follow-up Question

I see theres 5  miss and 5 hits. But it says 4 miss.

and whats the answer for this: the 2 ends up in slot (0-2)??

Solution
Bartleby Expert
SEE SOLUTION
Knowledge Booster
Fundamentals of Memory
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning