{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# HW5 - School of Electrical Engineering and Computer Science...

This preview shows pages 1–2. Sign up to view the full content.

School of Electrical Engineering and Computer Science University of Central Florida COP5611 - Advanced Operating Systems Spring 2009 (dcm) Homework 5. Due Wednesday March 25. Problem 1 (20 points) The virtual address of a virtual memory system with both paging and segmentation is expressed as ( s 1 , s 2 , p, d ) (see Figure 1) with | s 1 | , | s 2 | , | p | , | d | the length in bits of the four components of the address. The system has the following characteristics: a. Word size is 32 bits. b. An entry in the page or segment table is one word. c. Page size is 512 words. d. The page table is at most one page. b. An entry in the page or segment table is one word. (Q1) What is the value of | d | ? (Q2) What is the maximum number of pages per segment and what is the corresponding value of | p | ? (Q3) Using the values of | d | and | p | determined above which of the following choices for | s 1 | and | s 2 | is preferable. Explain. (a) | s 1 | = d and | s 2 | = 32 - | s 2 | - | p | - | d | . (b) | s 2 | = d and | s 1 | = 32 - | s 1 | - | p | - | d | . Problem 2 (20 points) Assuming a physical memory of of four page frames, give the number of page faults for

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}