Working sets, thrashing and frame allocation
Count the pages a process is using now, see why too many processes leave the CPU idle, and compare local and global frame allocation on the same turns. Virtual memory depth · Operating systems.
Add one more program and the machine does less work, not more. The CPU sits idle while the disk stays busy. What changed?
What you will learn
- Compute a working set and its size from a window of references
- Recognise when demand has passed the frames and what that costs
- Compare local and global allocation, including what a global fault can take from another process
Lesson outline
- The pages a process is using now
- When demand passes the frames
- A fixed share or one shared pool
- What each policy risks
15 minutes · 5 scenes · 0 predict checks · 10 quiz questions
The full lesson is available with Premium.