Segmentation is similar to paging but uses variable-sized pages.Definetwo | StudySoup

Textbook Solutions for Operating System Concepts

Chapter 9 Problem 9.11

Question

Segmentation is similar to paging but uses variable-sized pages.Definetwo segment-replacement algorithms, one based on the FIFO pagereplacementscheme and the other on the LRU page-replacement scheme.Remember that since segments are not the same size, the segment thatis chosen for replacement may be too small to leave enough consecutivelocations for the needed segment. Consider strategies for systems wheresegments cannot be relocated and strategies for systems where they can.

Solution

Step 1 of 6)

The first step in solving 9 problem number 11 trying to solve the problem we have to refer to the textbook question: Segmentation is similar to paging but uses variable-sized pages.Definetwo segment-replacement algorithms, one based on the FIFO pagereplacementscheme and the other on the LRU page-replacement scheme.Remember that since segments are not the same size, the segment thatis chosen for replacement may be too small to leave enough consecutivelocations for the needed segment. Consider strategies for systems wheresegments cannot be relocated and strategies for systems where they can.
From the textbook chapter Virtual Memory you will find a few key concepts needed to solve this.

Step 2 of 7)

Visible to paid subscribers only

Step 3 of 7)

Visible to paid subscribers only

Subscribe to view the
full solution

Title Operating System Concepts  9 
Author Abraham Silberschatz, Peter B. Galvin, Greg Gagne
ISBN 9781118063330

Segmentation is similar to paging but uses variable-sized pages.Definetwo

Chapter 9 textbook questions

×

Login

Organize all study tools for free

Or continue with
×

Register

Sign up for access to all content on our site!

Or continue with

Or login if you already have an account

×

Reset password

If you have an active account we’ll send you an e-mail for password recovery

Or login if you have your password back