Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

1.Consider a virtual memory system that can address a total of 2^50 bytes. You have unlimited hard drive space, but are limited to only 2

1.Consider a virtual memory system that can address a total of 2^50 bytes. You have unlimited hard drive space, but are limited to only 2 GB of semiconductor (physical) memory. Assume that virtual physical pages are each 4 KB in size.

a. How many bits is the physical address?

b. What is the maximum number of virtual pages in the system?

c. How many physical pages are in the system?

d. How many bits are the virtual and physical page numbers?

e. How many page table entries will the page contain?

f. Assume that, in addition to the physical page number, each page table entry also contains some status information in the form of a valid bit (V) and a dirty bit (D). How many bytes long is each page table entry? (Round up to an integer number of bytes.)

g. Sketch the layout of the page table. What is the total size of the page table in bytes?

h. You decide to speed up the virtual memory system of problem 1, by using a translation lookaside buffer (TLB) with 128 entries. How big (in bits) is the TLB? Give numbers for data (physical page number), tag (virtual page number), and valid bits of each entry.

i. Sketch the TLB, ad label all fields and dimensions.

j. What size SRAM would you need to build the TLB described in part b? Give your answers in terms of depth x width.

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_2

Step: 3

blur-text-image_3

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

Introduction To Constraint Databases

Authors: Peter Revesz

1st Edition

1441931554, 978-1441931559

More Books

Students explore these related Databases questions

Question

1. Where do these biases come from?

Answered: 3 weeks ago