Question: You are given the following information about a virtual memory system that employs both paging and segmentation in a two-level segmentation with paging fashion: Logical

You are given the following information about a virtual memory system that employs both paging and segmentation in a two-level segmentation with paging fashion:

Logical addresses have the form (s1, s2, p, d), where |s1|, |s2|, |p|, and |d| denote the length (in bits) of each of the four address component;

Logical address size is 32 bits;

Page size is 512 Bytes;

A page table occupies one page.

(a) What is the value of |d|?

(b) What is the maximum number of pages per segment and what is the corresponding value of |p|?

(c) using the values of |p| and |d| determined above, which of the two following choices for |s1| and |s2|? Explain.

i. |s1| = |d| and s2 = 32 ? |s1| ? |p| ? |d| OR ii. |s2| = |d| and s1 = 32 ? |s2| ? |p| ? |d|

(d) Would either of the two choices above result in a larger virtual address space? Explain.

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!