DSA Factory
Curriculum
Operating systems

Virtual memory

About 7 steps, from the first idea to a mastery test.

  1. Stage 0Demand pagingFree
    1. 1Why virtual memory12 min
    2. 2Page faults12 min
    3. 3What a page fault costs12 min
  2. Stage 1Page replacementFree
    1. 1Choosing which page to evict15 min
    2. 2Belady's anomaly11 min
    3. 3Approximating LRU: the clock algorithm13 min
  3. Stage 2Thrashing and masteryComing soon
  4. Stage 3Thrashing and the working setFree
    1. 1Thrashing and the working set14 min
Start freeTry a step first