Question: 2.) [15 points] (Exercise 5.11) Assume 4KiB pages, a 4-entry full associative TLB and true LRU replacement. The LRU status at the beginning is shown

 2.) [15 points] (Exercise 5.11) Assume 4KiB pages, a 4-entry full

2.)

[15 points] (Exercise 5.11) Assume 4KiB pages, a 4-entry full associative TLB

and true LRU replacement. The LRU status at the beginning is shown in TLB

table. 0 represents the Least Recently Used and 3 being the Most Recently Used. Page table contains 16 entries shown in Page Table. If pages must be brought in from disk, increment the next largest page number, i.e., when the page table is accessed, if that particular page is on disk, the page number would be 18 since the largest page number in the page table at the beginning is 17. Assume physical memory is large enough.

A [4 points] Determine the number of bits in virtual address?

B [7 points] Given the address stream

39401, 53332, 4090, 15832, 25678, 7345, 45155

list for each reference if it is a hit in the TLB, a hit in the page table or a page fault.

C [4 points] What is the final state of TLB after the address stream in (b)?

(could you please separate the answers in A B & C, and thank you very much!!!)

TLB Valid Tag Physical Page Number LRU 3 9 1 4 11 Page Table Valid Physical Page or in Disk Disk Disk 11 12 Disk 3 3 Disk 8 1 | 7 Disk. Disk 16 Disk Disk 1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!