Optimal Page Replacement Algorithm
The optimal page replacement algorithm that as well known as OPT is an algorithm which works as follows: while a page needs to be swapped in, operating system swaps out the page whose next use will take place farthest in the future. For instance, a page that is not going to be utilized for the next 6 seconds will be swapped out over a page that is going to be utilized in next 0.4 seconds.