




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





CIS 501 (Martin): Virtual Memory 1
Slides originally developed by Amir Roth with contributions by Milo Martin at University of Pennsylvania with sources that included University of Wisconsin slides by Mark Hill, Guri Sohi, Jim Smith, and David Wood. CIS 501 (Martin): Virtual Memory 2
display (^) NIC I/O ctrl Memory bus System (I/O) bus CPU/$ bridge CPU/$
CIS 501 (Martin): Virtual Memory 5
Memory Disk kbd
display (^) NIC I/O ctrl Memory bus System (I/O) bus CPU/$ bridge CPU/$ Application sofware CIS 501 (Martin): Virtual Memory 6
display (^) NIC I/O ctrl Memory bus System (I/O) bus CPU/$ bridge CPU/$ OS Application Application Application Application
CIS 501 (Martin): Virtual Memory 13
App … App VAs PAs (physical memory) OS controlled VA!PA mappings CIS 501 (Martin): Virtual Memory 14 Disk
App … App
App … App
CIS 501 (Martin): Virtual Memory 17
CIS 501 (Martin): Virtual Memory 25
Main Memory
VA PA
CIS 501 (Martin): Virtual Memory 26
Main Memory
VA PA
CIS 501 (Martin): Virtual Memory 27
TLB hit/miss
VPN [31:16] page offset [15:0] cache
cache hit/miss tags data CIS 501 (Martin): Virtual Memory 28
Main Memory
VA TLB PA tag [31:12] index [11:5] [4:0] VPN [31:16] page offset [15:0] ? PPN[27:16] page offset [15:0]
CIS 501 (Martin): Virtual Memory 29
-! page not in memory