Question: 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
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
Get step-by-step solutions from verified subject matter experts
