Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assume you have a small system whose memory is of size 64MB. Further assume that this is a system uses paging and each page

    • image text in transcribed  

      student submitted image, transcription available belowstudent submitted image, transcription available belowstudent submitted image, transcription available below 
       
       

       

 

 

Assume you have a small system whose memory is of size 64MB. Further assume that this is a system uses paging and each page is of size 1KB. Note: 1KB = 210 Bytes, 1MB = 210 KB. We consider a single level page table. Question 1 (6 points). 1) For the virtual addresses, how many bits are required for the VPN? 2) How many bits are required in the offset to address every byte in each page? You are required to show your calculations or explanations. Question 2 (6 points). 1) Considering that we need to cover at least the PFN in each page table entry (PTE), what are the minimum bytes required for each PTE? 2) Thereafter, what is the total size (in KB) of the page table for each process? You are required to show your calculations or explanations. Now we would like to change the single-level page table in above to a multi-level page table. We assume that all pages for the process are allocated. Question 3 (6 points). 1) How many PTEs can we store in each page? 2) How many pages do we need to store the innermost page table entries? You are required to show your calculations or explanations. Question 4 (6 points). 1) How many total pages do we need to store the multi-level page table for the process, assuming the page directory entry is of the same size as the PTE? 2) how many bits are required for the page directory index (i.e., master page number)? You are required to show your calculations or explanations.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

Question 1 1 How many bits are required for the VPN First we need to calculate the total addressable memory space The total memory size is 64MB 1MB 2 ... 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

Essentials Of Marketing Research

Authors: Naresh K. Malhotra

1st Global Edition

1292060166, 9781292060163

More Books

Students also viewed these Banking questions

Question

Discuss the use of social media to conduct qualitative research.

Answered: 1 week ago