Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

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

Database Basics Computer EngineeringInformation Warehouse Basics From Science

Authors: Odiljon Jakbarov ,Anvarkhan Majidov

1st Edition

620675183X, 978-6206751830

More Books

Students also viewed these Databases questions

Question

Developing and delivering learning that is integrated with the job.

Answered: 1 week ago

Question

Use of assessments to determine trainees learning styles.

Answered: 1 week ago