The Backend Engineering Show with Hussein Nasser
Page Tables

Page Tables

The Backend Engineering Show with Hussein Nasser

46:39

About this episode


Page tables provide the mapping between virtual memory and physical memory for each process. This means it needs to be as efficient and as fast as possible. I explore the inner workings of page tables in this episode.


  • 0:00 Intro
  • 2:00 Virtual Memory

⁃ ⁃ 8:00 MMU

  • 10:00 Page Tables

⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ 11:30 Single Table Byte Addressability  

⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ 16:00 Single Table Page addressability 

⁃ ⁃ ⁃ ⁃ ⁃ 19:00 Multi-level Paging (Radix tree)

⁃ ⁃ 31:00 Huge Tables

⁃ ⁃ 33:00 TLB

⁃ ⁃ Summary


More from The Backend Engineering Show with Hussein Nasser

I discuss the state of what will be happening in the coming few years and why I encourage the 3 of you who want to be elite engineers to keep their critical thinking sharp. To pause and think before p…

9m

This is a conversation with Rashed Hasan, a PhD Candidate from the University of Nebraska. We chatted about databases, ORMs and how to use AI without losing yourself. Rashed pagehttps://www.mdrashedul…

56m

SQL was a mistake

I like SQL but the standard should have included ways to hint instead of the abstraction of "let me do it for you"

12m

In this episode I explore why you should take some time to examine the operation you are caching before doing so. And why caching is a cop-out

15m