









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!










2
… can be reduced by not managing translations on byte basis but at some larger granularity
4 Paged Virtual Memory 0x 0x 0xFFFFFFFF 0x 0x000000FF Virtual Address Space 0x000001FF
0x000000 00 0x000001 00 0x000002 00 0xFFFFFFFF 0x000000FF 0x000001FF Virtual Page 0 Virtual Page 1 Virtual Page 0xFFFFFF 0x 000001 24:
5 Paged Virtual Memory 0x 0x 0xFFFFFFFF 0x 0x000000FF Virtual Address Space 0x000001FF
0x000000 00 0x000001 00 0x000002 00 0xFFFFFFFF 0x000000FF 0x000001FF Virtual Page 0 Virtual Page 1 Virtual Page 0xFFFFFF 0x 000001 24:
Physical Address Space 0x 0xFFFFFF 0x0000FF
Physical Page 0
0x 0000 24: If Virtual Page 1 is currently mapped to Physical Page 0
7
Virtual address Physical address Virtual page number (VPN) Offset
Physical Page Number (PPN) Offset
8
10
11 What’s happening… (^) Hard Disk P1 (^) P2 Pn
Contents of virtual pages Main Memory 0
Page Tables P P Pn
13 What’s happening… (^) Hard Disk P1 (^) P2 Pn
Contents of virtual pages Main Memory 0
Page Tables P P Pn
Question: What if Process P1 now accesses a variable that is on its virtual page 3?
14
16