CS 332 s20 — Beyond Physical Memory
Table of Contents
1 Video Lecture
Please watch the video lecture: It contains sections on
- Introduction (0:04)
- Announcements (0:32)
- Main Points (0:54)
- Demand Paging: Memory as a Cache for Disk (1:55)
- Demand Paging (Before) (4:59)
- Demand Paging (After) (6:20)
- Demand Paging Questions (6:49)
- High-Level Implementation (8:03)
- Locating a Page on Disk (11:13)
- Allocating a Page Frame (12:27)
- Has Page Been Modified/Recently Used? (15:41)
- Tracking Page Modifications (Before) (19:11)
- Tracking Page Modifications (After) (19:28)
- Models for File I/O (19:59)
- Advantages of Memory-Mapped Files (22:25)
- Implementing Memory-Mapped Files (25:48)
- From Memory-Mapped Files to Demand Paged Memory (27:37)
- How to Choose Which Page to Evict? (31:12)
- LRU can Match Optimal Given Good Locality (33:22)
- LRU can be Pessimal for Sequential Scan (34:19)
- Approximating LRU/LFU (36:34)
- Conclusion (40:26)
The Panopto viewer has table of contents entries for each slide (https://carleton.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=b11f91c5-1e40-44c8-be63-abca0137555f). You can access the lecture slides here.
2 Homework
- Lab 4 peer review is due 9pm Monday, June 1.
- The week 8 quiz is due 9pm Wednesday, June 3.