Swapping, backing and memory pressure
Follow pages out of RAM and back, see why a clean page leaves free and a dirty page is written first, and meet a loop that faults on every touch. Virtual memory depth · Operating systems.
Every frame is full and the program touches one more page. Follow a clean page and a dirty page out of RAM and back, then watch a loop that faults on every touch.
What you will learn
- Explain memory pressure, backing storage and residency
- Trace a clean page-out (no write) and a dirty page-out (write first) with the page-in that follows
- Recognise a loop that needs more frames, and tell a serviced fault from a refused access
Lesson outline
- When RAM runs out
- A clean page leaves for free
- A dirty page is written first
- Choosing the victim is another question
- When every touch faults
- A fault is not always an error
16 minutes · 5 scenes · 0 predict checks · 11 quiz questions
The full lesson is available with Premium.