Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this exercise, we will examine space/time optimizations for page tables. The following list provides parameters of a virtual memory system. 1. For a single-level

In this exercise, we will examine space/time optimizations for page tables. The following list provides parameters of a virtual memory system.

Physical DRAM PTE Size (byte) Virtual Address (bits) Installed Page Size 16 GİB 43 4 KİB 4

1. For a single-level page table, how many page table entries (PTEs) are needed? How much physical memory is needed for storing the page table?

2. Using a multilevel page table can reduce the physical memory consumption of page tables, by only keeping active PTEs in physical memory. How many levels of page tables will be needed in this case? And how many memory
references are needed for address translation if missing in TLB?

3. An inverted page table can be used to further optimize space and time. How many PTEs are needed to store the page table? Assuming a hash table implementation, what are the common case and worst case numbers of memory references needed for servicing a TLB miss?
The following table shows the contents of a 4-entry TLB.

Entry-ID Valid VA Page Modified Protection PA Page 140 RW 30 40 RX 34 32 200 RO 4 280 RW 31

4. Under what scenarios would entry 2€™s valid bit be set to zero?

5. What happens when an instruction writes to VA page 30? When would a soft ware managed TLB be faster than a hardware managed TLB?

6. What happens when an instruction writes to VA page 200? 
 
 

Physical DRAM Virtual Address (bits) Installed Page Size PTE Size (byte) 43 16 GB 4 KIB 4

Step by Step Solution

3.41 Rating (157 Votes )

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

Managerial Accounting

Authors: John J. Wild, Ken W. Shaw

2010 Edition

9789813155497, 73379581, 9813155493, 978-0073379586

More Books

Students also viewed these Accounting questions

Question

1. Speak privately if possible; dont threaten.

Answered: 1 week ago

Question

5. How do psychological contracts iffer across cultures?

Answered: 1 week ago