Define two segment-replacement algorithms based on fifo and


Discussion

You have devised a new page-replacement algorithm that you think may be optimal. In some test cases, Belady's anomaly occurs. Is the new algorithm optimal? Explain your answer.

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

Define two segment-replacement algorithms based on FIFO and LRU page-replacement schemes for segmentation. Remember that since segments are not the same size, the segment that is chosen to be replaced may not be big enough to leave enough consecutive locations for the needed segment. Consider strategies for systems where segments cannot be relocated, and those for systems where they can.

Solution Preview :

Prepared by a verified Expert
Management Information Sys: Define two segment-replacement algorithms based on fifo and
Reference No:- TGS02740502

Now Priced at $20 (50% Discount)

Recommended (90%)

Rated (4.3/5)