MFU Algorithm is a Page Replacement Algorithm in the Operating System that replaces the page accessed a maximum number of times in the past. If more than one page is accessed the same number of times, then the page which occupied the frame first will be replaced.
Page Replacement
It is a technique of replacing a data block (frame) of Main Memory with the data block (page) of Secondary Memory when all the frames of Main Memory are occupied and CPU demands for the data block which is not available inside Main Memory, technically, when Page Fault occurs.
Example:
Consider a Main Memory with a number of frames = 4 and the following are the data block access requests made by the CPU.
CPU Requests - 7, 0, 1 , 2, 0, 3, 0, 4, 2, 3, 0, 3, 2, 1
Given, the number of frames = 4. Initially, all are empty
Page Replacement Using the Most Frequently Used (MFU) Algorithm
(i) The 4 frames are initially empty, the first 4 blocks occupy them.
7,0,1,2, 0 , 3 , 0 , 4 , 2 , 3 , 0 , 3 , 2 , 1
(ii) Block 0 has already occupied the frame.
7,0,1,2, 0 , 3 , 0 , 4 , 2 , 3 , 0 , 3 , 2 , 1
(iii) Block 0 is accessed maximum times, so replaced with incoming Block 3.
7,0,1,2,0, 3 , 0 , 4 , 2 , 3 , 0 , 3 , 2 , 1
(iv) Blocks 2,1,3,7 are accessed once and Block 7 occupied the frame first, so, Block 7 replaced with incoming Block 0.
7,0,1,2,0,3, 0 , 4 , 2 , 3 , 0 , 3 , 2 , 1
(v) Block 0 is accessed maximum times so replaced with incoming Block 4.
7,0,1,2,0,3,0, 4 , 2 , 3 , 0 , 3 , 2 , 1
(vi) Blocks 2,3 have already occupied the frame.
7,0,1,2,0,3,0,4, 2 , 3 , 0 , 3 , 2 , 1
(vii) Block 2 and Block 3 are accessed maximum times and Block 2 occupied the frame first, so, Block 2 replaced with incoming Block 0.
7,0,1,2,0,3,0,4,2,3, 0 , 3 , 2 , 1
(viii) Block 3 has already occupied the frame.
7,0,1,2,0,3,0,4,2,3,0, 3 , 2 , 1
(ix) Block 0 is accessed maximum times so replaced with incoming Block 2.
7,0,1,2,0,3,0,4,2,3,0,3, 2 , 1
(x) Block 1 has already occupied the frame.
7,0,1,2,0,3,0,4,2,3,0,3,2, 1

Conclusion
All the data block access requests made by CPU are completed using Most Frequently Used (MFU) Algorithm. In this algorithm, as most frequently accessed page is replaced, this increases the number of Page Faults. Number of Page Faults for above example are 5+4 = 9 page faults.