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

2. Suppose we wish to design a virtual memory system. We would like to be able to address a total of 232 bytes but we

image text in transcribed
2. Suppose we wish to design a virtual memory system. We would like to be able to address a total of 232 bytes but we only have 16 MB of semiconductor memory (e.g physical addresses are 24 bits long). The page size is 4 KB for both physical and virtual memory a) How many virtual pages are there in our system? b) How many physical pages are there in our system? c) Suppose we use a page table to store mappings (from VPN to PPN). How many page table entries will the page table for our system contain? d) Assume that in addition to a physical page number, each page table entry also contains a valid bit (V) and dirty bit (D). What is the minimum number of bytes needed for each page table entry? e) Using the answer from (d), what is the total size of the page table in bytes? f) Let's say that we want to build a translation look aside buffer (64 entries) for our virtual memory system. What type of information do we expect to find in the TLB? How many storage bits are needed for the TLB to include all information including status bits

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

Students explore these related Databases questions