Question: Problem 1 Consider a 64-bit, byte-addressable system that uses virtual memory. The system has 32GB of physical memory installed with a page size of 4KB.

Problem 1

Consider a 64-bit, byte-addressable system that uses virtual memory. The system has 32GB of physical memory installed with a page size of 4KB. a) How many bits are used for the page offset? How many bits are used to index into the page table(s)?

Page Offset: _________ Virtual Page Number Bits: _________

b) How many virtual ?pages exist in the system?

c) How many physica?l pages exist in the system?

d) If the system has a single-level page table with 4B entries, how large must the page table be to map all the systems virtual memory?

e) If we switch to a hierarchical page table such that each page table level must fit in a single page, how many page table levels would we need to map all of the systems virtual memory? Assume page table entries are still 4B each.

f) If we make the following changes, fill out the table below. Assume all changes are independent of each other unless otherwise stated. Modification Field: Change

Swap to more physical memory & smaller disk # Physical Pages Increase / Stay Same / Decrease Switch to a system with more page table levels # Virtual Page Num. Bits Increase / Stay Same / Decrease Increase page size from 4KB to 1GB # Virtual Pages Increase / Stay Same / Decrease Reduce page size from 4KB to 512B # Page Table Levels Increase / Stay Same / Decrease

g) Name one advantage and one disadvantage of using a hierarchical page table design over a single page table design. Please limit your answers to 1-2 sentences max?.

Problem 1 Consider a 64-bit, byte-addressable system that uses virtual memory. The

system has 32GB of physical memory installed with a page size of

4KB. a) How many bits are used for the page offset? How

Problem 1 Consider a 64-bit, byte-addressable system that uses virtual memory. The system has 32GB of physical memory installed with a page size of 4KB a) How many bits are used for the page offset? How many bits are used to index into the page table(s)? Page Offset: Virtual Page Number Bits b) How many virtual pages exist in the system? c) How many physical pages exist in the system? d) If the system has a single-level page table with 4B entries, how large must the page table be to map all the system's virtual memory

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!