Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

4.) (20 points) (Exercise 5.11) As described in Section 5.7 of the text book, virtual memory uses a page table to track the mapping of

image text in transcribed

4.) (20 points) (Exercise 5.11) 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 Valid 11 Physical Page Number 12 LRU 1 4 Page Table Valid Physical Page or in Disk Disk Disk 11 Disk Disk Disk 12 a.) (20 points) 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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

OpenStack Trove

Authors: Amrith Kumar, Douglas Shelley

1st Edition

1484212215, 9781484212219

More Books

Students also viewed these Databases questions