Save this video free

ECE344 Fall 2026 (Sec 1) Lec 11 - Page Faults

Jon Eyolfson · 1:00:25 · Watch on YouTube

Part of University of Toronto ECE 344. See all 26 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Jon Eyolfson explains how multi-level page tables, TLB caching, and page faults implement efficient virtual memory on RISC-V systems. The lecture derives page-table sizing formulas, compares 3-level SV39 translation costs, and connects demand paging to Linux system calls such as BRK and MMAP, including file-backed mappings, copy-on-write, and swapping.

Key takeaways

Chapters

0:00 Exam Scope and Page-Fault Lecture Setup
6:30 SV39 Three-Level Page-Table Translation
12:00 Sharing Page Tables Across Related Virtual Pages
17:30 Best- and Worst-Case SV39 Table Counts
23:30 Calculating Page-Table Levels from Address Parameters
30:00 TLB Caching Removes Repeated Page-Table Walks
35:10 Effective Access Time with TLB Hits and Misses
39:30 Stride Benchmarks Reveal TLB Locality
43:20 TLB Consistency During Context Switches and Permission Changes
47:40 BRK, SBRK, and Eager Versus Lazy Heap Growth
50:40 MMAP Protection, Sharing, and File-Backed Mappings
54:00 File I/O Simplified by Lazy MMAP Faults
58:00 Page-Fault Handling: Demand Paging, Copy-on-Write, and Swapping

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

6:29 question. >> Focus on this. >> Alrighty. Welcome back to operating systems. So, this is the last lecture that will be theoretically covered on the test. I'm not that mean. I'm not going to ask you to do something super in-depth that we're doing today. More conceptual stuff. So, don't worry about too much. Any concerns or anything about the test before we start? No, we're good. So, you're Wait, no, you're the other one. But I'll be around on Tuesday, too, if you have any last minute questions either in my office, BA 5110, or during the lecture time, like 5:00 PM, I'll be in this room for the other

7:17 courses lecture time. So, I'll be here if enough people show up. I won't record anything or do anything, but uh I'll be here for questions. Yeah. >> Do you think the midterm is going to be like a time crunch? Because it is like 45 minutes. You designed it like >> Yeah. I designed it in a way that it shouldn't be a time crunch. So, the way I designed my tests are it's 40 minutes or sorry, 45 minutes and there's 45 marks. So, time yourself at about a mark a minute. I do mark a minute and I be generous. So there's multiple choice that are hopefully quick and the multiple choice are two marks each. So two minutes of multiple choice. So work from that. So there's essentially multiple choice, some short answers. So

8:04 you can probably guess a process question and a virtual memory question and that's it. >> So shouldn't be bad. I I don't design my tests to be time crunches. I don't care. Yeah, I'm not testing your writing speed. I'm testing your operating system knowledge. All right. So, page faults. So, recall

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Jon Eyolfson.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.