in Operating System
81 views
0 votes
0 votes

Consider a movie player application that supports functions like play movie, skip forward x frames and skip backward x frames. Suggest a memory management policy that will be best suited for this application. (source: question 4.4 )

Ans is given as: A paging based system with a look ahead mechanism that loads the pages even before they are actually asked for would be most suitable. Also as a page replacement policy, all the frames that are closest to the current frame are not replaced (Based on locality of reference concept). This will help when the forward skip or backward skip functions are used.

Will segmentation not work for this? As it has larger locality of reference, I mean segments are larger in size and hence bring more data at once. And if we use Look-ahead as in paging, then this will perform equally well, if not better.

Please comment on it.

in Operating System
by
5 points
81 views

1 Answer

0 votes
0 votes
I also think the same even in paging there might be the case wherein order to access a byte we might have to read more than two pages(which would increase the emat because of Page fault if the word we need is partially present in both the pages), Segmentation is more suitable as it divides the LAS in a logical way which is meaningful to the user.
by
5 points
Ask
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
Welcome to GATE CSE Doubts, where you can ask questions and receive answers from other members of the community.