Question
4.) As described in Section 5.7 of the text book, virtual memory uses a page table to track the mapping of virtual addresses to physical
4.) As described in Section 5.7 of the text book, virtual memory uses a page table to track the mapping of virtual addresses to physical addresses. This exercise shows how this table must be updated as addresses are accessed. The following data constitutes a stream of virtual addresses as seen on a system. Assume 4 KiB pages, a 4-entry fully associative TLB, and true LRU replacement. The LRU status at the beginning of the address sequence is show in the TLB table.0 being the Least Recently Used and 3 being the Most Recently Used. 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 13 since the largest page number in the page table at the beginning is 12.
4669, 2227, 13916, 34587, 48870, 12608, 49225
TLB
Page Table
a.) Given the address stream shown, and the initial TLB and page table states provided above, show the final state of the system. Also list for each reference if it is a hit in the TLB, a hit in the page table, or a page fault.
Physical Page Number 12 4 6 9 Valid Tag LRU 7 3 4 2 3 0 0Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started