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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started