This week covers paging, page tables, address translation, TLBs, page faults, replacement policies, and the performance impact of virtual memory.
Week 8 develops the virtual memory mechanism in more detail. Students learn how pages and page tables translate addresses and how the OS handles memory pressure.
| Time | Activity | What Students Do | Link |
|---|---|---|---|
| Before Lecture | Preparation Reading | Read OSTEP Chapters 18–24 and solve one address-translation example. | Book → |
| Lecture 1 | Paging and Page Tables | Pages, frames, VPN, offset, PTE, valid bits, protection bits, and multi-level page tables. | Slides → |
| Lecture 2 | TLBs and Replacement | TLB hits, TLB misses, page faults, FIFO, LRU, clock policy, and working set intuition. | Slides → |
| Lab Session | Virtual Memory Lab | Translate virtual addresses, inspect page behavior, and run memory-access experiments. | Lab → |
| After Lecture | Assignment 8 | Complete address-translation problems and compare page replacement policies. | Assignment → |
| End of Week | Quiz 8 | Complete short quiz on paging, page tables, TLB, page faults, replacement policies, and address translation. | Quiz → |
Translate virtual addresses, explain page tables, describe TLB behavior, identify page faults, and compare replacement policies.
Slides for virtual memory and paging. Replace this placeholder with your final PDF or Google Slides link.
Instructor notes and class summary for review after lecture and before assessment.
Placeholder for lecture recording or external video link. Replace this href with YouTube, Blackboard, or local recording URL.
Starter files, examples, and templates for the Week 8 lab and assignment.
Complete the assigned reading before lecture. Focus on definitions, mechanisms, tradeoffs, and examples that connect to the lab.
Use this reference to look up commands, system calls, library calls, and Linux behavior related to this week.
Translate virtual addresses, inspect page behavior, and run memory-access experiments.
Complete address-translation problems and compare page replacement policies. Submit source code, screenshots, and a short explanation.
Short quiz covering paging, page tables, TLB, page faults, replacement policies, and address translation.
Central download area for slides, notes, lab, assignment, starter code, and reference files. Replace placeholder paths after uploading final files.
Week 9 focuses on file systems. Students move from memory abstractions to persistent storage abstractions.