Save this video free

ECE344 Fall 2026 (Sec 1) Lec 10 - Page Tables

Jon Eyolfson · 56:16 · 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 RISC-V SV39 multi-level page tables reduce the memory cost of sparse per-process address spaces: instead of a 1 GB flat table for a 39-bit virtual address, a translation typically needs only three 4 KB tables. He traces the address-indexing and page-walk process, then connects it to page alignment, xv6 allocation, page faults, lazy allocation, and copy-on-write.

Key takeaways

Chapters

0:00 Test One Scope, Study Materials, and Lab Expectations
4:48 Why a Flat SV39 Page Table Can Cost 1 GB
7:27 Fitting 512 Page-Table Entries on One Page
11:21 Page Alignment, PPNs, and Virtual-to-Physical Translation
15:38 SV39 Splits the VPN into Three 9-Bit Indices
22:21 Sparse Address Spaces Save Memory at the Cost of More Lookups
27:57 Page-Table Entries, Huge Pages, and xv6 Helpers
33:50 How xv6 Allocates and Frees Physical Pages
35:54 Walking a Two-Level Table for a 30-Bit Address
42:20 Aliased Page Tables, Page Faults, and Segmentation Faults
47:00 Copy-on-Write and the MMU Simulator Walkthrough

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

Transcript excerpt

2:08 Alrighty, welcome back to operating systems. So, test one quick spiel. Again, it's within a week. Oh, no. Uh yeah, it will cover up to virtual memory. So, the next half of next lecture. Up to and including not the second half of that lecture. If you want study materials or practice questions or everything, go to my website, go in the archive. 344 is your course. You can look at the midterms there. Those midterms go to week six, so there'll be stuff that you haven't covered. If you read the question, can't understand it, do not try and answer it because you don't know it yet. So, don't worry about it. You can also look at uh 353. That's the exact same course as

2:59 this one, but for N size students. They need a special number. Don't ask me why. If you look at 2025, they have a test one similar to yours. Covers the first four weeks instead of six, so more like it. Yeah. No multi-threading. We don't know what the word thread means yet. We don't know what concurrency is yet. We are safe. Yeah. So, next lecture first half is going to be the last one. So, it'll be virtual memory, so this is all reiterating, talking about more virtual memory stuff. Concepts will probably end at this lecture, but next lecture also helps reinforce it. Might have a few conceptual questions. And you should also know lab one and lab two. So,

3:47 unlike last year's LLM's better, I have to put questions on there to make sure you have some semblance of what the hell you did and just didn't let an LLM rip and have no idea what was going on. Yeah. >> I don't know if you're allowed to tell us, but I was wondering how much of it

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.