What is the Page-Fault Frequency (PFF) scheme for controlling thrashing?
Last updated
PFF (Page-Fault Frequency) fights thrashing by monitoring each process's fault rate and keeping it between an upper and lower threshold.
Above the upper bound the process gets more frames. Below the lower bound frames are taken away for others. If no frames are free, the OS suspends (swaps out) a process.
Unlike the working-set model, PFF reacts directly to the observed fault rate instead of tracking the working set, making it simpler to implement.
- https://parashar--manas.medium.com/understanding-operating-system-page-replacement-algorithms-part-68-techniques-to-handle-aea076e56c94
- https://www.tutorialspoint.com/operating_system/operating_systems_thrashing.htm
- https://www.geeksforgeeks.org/operating-systems/memory-management-interview-questions/
- https://topdowncs.com/docs/os-essential/13-thrashing-and-working-set/
- https://codecake.ai/blog/what-is-thrashing-in-os/
- https://web.stanford.edu/~ouster/cgi-bin/cs140-winter16/lecture.php?topic=thrashing