How does the OS decide how many frames to allocate to each process (global vs local allocation)?
Last updated
Frame counts are set by equal, proportional (by size or priority), or priority-based allocation, with a minimum per process so any single instruction can complete.
Global replacement lets a faulting process steal frames from any process: higher throughput and adaptivity, but each process's performance depends on others.
Local replacement limits a process to its own frames: predictable and isolated, but may waste idle frames while another process thrashes. Most systems favor global plus a working-set/PFF check.