Question: 1- You have devised a new page-replacement algorithm that you think may be optimal. In some test cases, Beladys anomaly occurs. Is the new algorithm
1- You have devised a new page-replacement algorithm that you think may be optimal. In some test cases, Beladys anomaly occurs. Is the new algorithm optimal? Explain your answer.
2- 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.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
