Question: For its on-chip cache, the Intel 80486 uses a replacement algorithm referred to as pseudo least recently used. Associated with each of the 128 sets
a. Specify how the bits B0, B1, and B2 are set and then describe in words how they are used in the replacement algorithm depicted in Figure 4.20.
b. Show that the 80486 algorithm approximates a true LRU algorithm.
c. Demonstrate that a true LRU algorithm would require 6 bits per set.
.png)
All four lines|n- the set valid? Replace nonvalid line 0 Yes Yes, LO or L1 least recently used No, L2 or L3 least recently used B1 = 0? B2 = 0? Yes No Yes No Replace L2 Replace Replace LI Replace L3 1.0 Figure 4.20 Intel 80486 On-Chip Cache Replacement Strategy
Step by Step Solution
3.45 Rating (164 Votes )
There are 3 Steps involved in it
a The bits are set according to the following rules with each access to the set 1 If the access is to L0 or L1 B0 1 2 If the access is to L0 B1 1 3 If ... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
896-C-S-S-A-D (2377).docx
120 KBs Word File
