Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

Page Table

image text in transcribed

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 0

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

Structured Search For Big Data From Keywords To Key-objects

Authors: Mikhail Gilula

1st Edition

012804652X, 9780128046524

More Books

Students also viewed these Databases questions

Question

In all probability, were likely to have a price increase.

Answered: 1 week ago

Question

What does stickiest refer to in regard to social media

Answered: 1 week ago