Modern Page Tables: Multi-Level Paging

  Рет қаралды 23,022

David Evans

David Evans

Күн бұрын

Пікірлер: 7
@giorgifilippo
@giorgifilippo 10 жыл бұрын
at ~4:50, introducing the overhead if the 32 bit paging scheme was applied to 64 bit architectures: 2^64 locations / 2^12bytes/page = 2^52 pages. Page table entries can not be 4 bytes long (32 bit) to address 2^52 pages. Each entry needs to be at least 8 byte long (rounding up to next DWord). 8 = 2^3 so the required amount of memory dedicated to page tables would be 2^52 * 2^3 = 2^55, not 2^56 bytes (pen note) nor 2^54 (keynote text). I was a little bit confused. Anyway very interesting lesson, thanks for posting it! PS at 6:45 2^44 is 16 TB (2^40 = 1 TB * 2^4 = 16)
@DavidEvans
@DavidEvans 10 жыл бұрын
Thanks, Filippo! You are right, sorry for the mistake and thanks for posting the correction.
@EtemBavarian
@EtemBavarian 4 жыл бұрын
A very good explanation of multi level paging. Thank you!
@MrAseemgrover
@MrAseemgrover 11 жыл бұрын
is nt 2^32 == 4 G and not 4 M, also I think the index is 9 bits because each entry in the page table is 8 Bytes therefore 2^9 * 8 = 2^12 Bytes = 4 KB which is the size of the page.
@DavidEvans
@DavidEvans 11 жыл бұрын
Opps! You're right, of course, 2^32 = 4,294,967,296. Sorry, this is a mistake on slide 4. The virtual addresses for 386 have 12-bit offsets, so there are 2^12 = 4096 addresses in a page, and with 2^10 pages, this gives 2^22 addresses = 4,194,304 (which can address 4M bytes of memory since each address is to one byte). (10 bits are used for the page directory, which is why we don't get the full 32-bits for 2^32 addresses.)
@大王-b1k
@大王-b1k 4 жыл бұрын
Aseem Grover Sounds promising
@creativeprocessingunitmk1587
@creativeprocessingunitmk1587 2 жыл бұрын
I think 9 bit addresses make sense if each entry is 8 bytes, the addresses are indexing into 4bk pages
Virtual Memory in the x86
16:27
David Evans
Рет қаралды 17 М.
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
From Multics to Android
15:43
David Evans
Рет қаралды 7 М.
Virtual Memory: 12 Multi-level Page Tables
7:27
David Black-Schaffer
Рет қаралды 214 М.
Multi-level Paging (OS)
15:48
Casey Cole
Рет қаралды 26 М.
Virtual Memory: 5 Page Tables
6:32
David Black-Schaffer
Рет қаралды 336 М.
Microkernels
18:21
David Evans
Рет қаралды 56 М.
xv6 Kernel-8: RiscV Page Tables
8:37
hhp3
Рет қаралды 7 М.
Segmented, Paged and Virtual Memory
7:48
Computer Science Lessons
Рет қаралды 267 М.
Paging (OS)
29:12
Casey Cole
Рет қаралды 91 М.
CS 134 OS-5.7 Paging on x86
8:13
Neil Rhodes
Рет қаралды 4,9 М.
Birth of BASIC
38:13
Dartmouth
Рет қаралды 1,2 МЛН
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН