CS 332 s20 — Paging: Faster Translations
Table of Contents
1 Video Lecture
Please watch the video lecture: It contains sections on
- Introduction (0:05)
- Memory Lookups Got You Down? Use Caches! (0:48)
- TLB Diagram (4:16)
- TLB Diagram v2 (4:43)
- Could We Handle TLB Miss in Software? (6:13)
- Still Too Slow? EVEN MORE CACHING (9:58)
- Aliasing in Virtual Caches (12:18)
- Bringing It All Together (14:28)
- L1 Caches Virtually Addressed, L2 and L3 Physically (15:24)
- What If a Common Operation Has Bad Locality? (16:29)
- Solution: Make Pages Super (18:55)
- What If OS Changes a Page’s Permissions? (21:30)
- TLB Shootdown (23:26)
- What Happens to TLB Entries On a Context Switch? (24:40)
- Address Translation Uses part 1 (27:01)
- Address Translation Uses part 2 (28:44)
- Address Translation Uses part 3 (33:22)
- Reading: Paging: Faster Translations (35:21)
The Panopto viewer has table of contents entries for each slide (https://carleton.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=3a83267b-1ebf-4718-bbdc-abc80115fa38). You can access the lecture slides here.
2 Reading: Introduction to Paging
Read OSTEP chapter 19 covering TLBs. It provides a good overview with examples and goes into detail on what exactly is stored in a TLB entry.
3 Homework
- Lab 4 design doc due 9pm tonight, May 27
- Week 7 quiz due 9pm tomorrow, May 28
- Lab 4 peer view will be due 9pm Monday, June 1