Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Assume 4 KB pages, a 4-entry 2-way set associative TLB, and LRU replacement. When multiple physical pages are available, the OS will first use the
Assume 4 KB pages, a 4-entry 2-way set associative TLB, and LRU replacement. When multiple physical pages are available, the OS will first use the page with the lowest index. The following shows the current content in page table. Page Table Virtual page # o 1 2 3 4 5 6 7 8 9 10 11 valid 1 0 0 1 1 1 o 1 0 0 1 1 Physical page/disk 5 Disk Disk 6 9 11 Disk 4 Disk Disk 3 12 The TLB currently has two valid entries, which stores the information of virtual pages 11 and 3. Page 11 was loaded into main memory earlier than page 3. The other two entries of TLB are not currently used. Suppose we have the following virtual address stream 0x123D, 0x8B3, 0x365C, 0x871B, OxBE82, Ox3140 For each memory reference, indicate if it is a hit in the TLB, a hit in the page table, or a page fault. Also show the final state of the TLB and page table. Assume 4 KB pages, a 4-entry 2-way set associative TLB, and LRU replacement. When multiple physical pages are available, the OS will first use the page with the lowest index. The following shows the current content in page table. Page Table Virtual page # o 1 2 3 4 5 6 7 8 9 10 11 valid 1 0 0 1 1 1 o 1 0 0 1 1 Physical page/disk 5 Disk Disk 6 9 11 Disk 4 Disk Disk 3 12 The TLB currently has two valid entries, which stores the information of virtual pages 11 and 3. Page 11 was loaded into main memory earlier than page 3. The other two entries of TLB are not currently used. Suppose we have the following virtual address stream 0x123D, 0x8B3, 0x365C, 0x871B, OxBE82, Ox3140 For each memory reference, indicate if it is a hit in the TLB, a hit in the page table, or a page fault. Also show the final state of the TLB and page table
Step 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