Download presentation
Presentation is loading. Please wait.
1
Virtual Memory: Beyond the Physical Memory
CSCE 410/611 Virtual Memory: Beyond the Physical Memory Swapping of Processes to Secondary Storage “Partial Swapping” of Process Memory? Memory Access Patterns Swapping at Page Level? Virtual Memory: Beyond Physical Memory
2
libraries & dev.drivers
CSCE 410/611 Swapping of Processes Process 4 physical memory space libraries & dev.drivers OS Process 1 Process 2 Process 3 swapped processes Virtual Memory: Beyond Physical Memory
3
libraries & dev.drivers
CSCE 410/611 Swapping of Processes physical memory space libraries & dev.drivers OS Process 1 Process 4 swapped processes Process 2 Process 3 Virtual Memory: Beyond Physical Memory
4
“Partial Swapping” of Process Memory
CSCE 410/611 “Partial Swapping” of Process Memory Process 4 physical memory space libraries & dev.drivers OS Process 1 Process 3 Process 2 swapped memory Observation: Processes never use all their memory at once! Virtual Memory: Beyond Physical Memory
5
“Partial Swapping” of Process Memory
CSCE 410/611 “Partial Swapping” of Process Memory Process 4 physical memory space libraries & dev.drivers OS Process 1 Process 3 Process 2 swapped memory Virtual Memory: Beyond Physical Memory
6
“Partial Swapping” of Process Memory
CSCE 410/611 “Partial Swapping” of Process Memory Process 4 physical memory space libraries & dev.drivers OS Process 1 Process 3 Process 2 swapped memory Virtual Memory: Beyond Physical Memory
7
“Partial Swapping” of Process Memory
CSCE 410/611 “Partial Swapping” of Process Memory Process 4 physical memory space libraries & dev.drivers OS swapped memory Virtual Memory: Beyond Physical Memory
8
“Partial Swapping” of Process Memory
CSCE 410/611 “Partial Swapping” of Process Memory physical memory space libraries & dev.drivers OS swapped memory Virtual Memory: Beyond Physical Memory
9
“Partial Swapping” of Process Memory
CSCE 410/611 “Partial Swapping” of Process Memory Process 5 physical memory space libraries & dev.drivers OS swapped memory Virtual Memory: Beyond Physical Memory
10
“Partial Swapping” of Process Memory
CSCE 410/611 “Partial Swapping” of Process Memory physical memory space libraries & dev.drivers OS swapped memory Virtual Memory: Beyond Physical Memory
11
“Partial Swapping” of Process Memory
CSCE 410/611 “Partial Swapping” of Process Memory Process 5 physical memory space libraries & dev.drivers OS swapped memory Virtual Memory: Beyond Physical Memory
12
Memory Access Patterns
CSCE 410/611 Memory Access Patterns referenced pages execution time Virtual Memory: Beyond Physical Memory
13
Memory Access Patterns
CSCE 410/611 Memory Access Patterns referenced pages execution time Virtual Memory: Beyond Physical Memory
14
Memory Access Patterns
CSCE 410/611 Memory Access Patterns referenced pages execution time Virtual Memory: Beyond Physical Memory
15
Memory Access Patterns
CSCE 410/611 Memory Access Patterns referenced pages execution time Virtual Memory: Beyond Physical Memory
16
Memory Access Patterns
CSCE 410/611 Memory Access Patterns referenced pages execution time Virtual Memory: Beyond Physical Memory
17
Page-Level on-Demand Swapping
CSCE 410/611 Page-Level on-Demand Swapping swapping device pages of process swapped pages These pages are stored in memory Virtual Memory: Beyond Physical Memory
18
Page-Level on-Demand Swapping
CSCE 410/611 Page-Level on-Demand Swapping swapping device pages of process swapped pages These are stored on swapping device Virtual Memory: Beyond Physical Memory
19
Page-Level on-Demand Swapping
CSCE 410/611 Page-Level on-Demand Swapping swapping device pages of process swapped pages CPU Virtual Memory: Beyond Physical Memory
20
Page-Level on-Demand Swapping
CSCE 410/611 Page-Level on-Demand Swapping swapping device pages of process swapped pages CPU Virtual Memory: Beyond Physical Memory
21
Page-Level on-Demand Swapping
CSCE 410/611 Page-Level on-Demand Swapping swapping device pages of process swapped pages CPU Virtual Memory: Beyond Physical Memory
22
Page-Level on-Demand Swapping
CSCE 410/611 Page-Level on-Demand Swapping swapping device pages of process swapped pages CPU zzz... Virtual Memory: Beyond Physical Memory
23
Page-Level on-Demand Swapping
CSCE 410/611 Page-Level on-Demand Swapping swapping device pages of process swapped pages CPU Virtual Memory: Beyond Physical Memory
24
Virtual Memory: Beyond the Physical Memory
CSCE 410/611 Virtual Memory: Beyond the Physical Memory Swapping of Processes to Secondary Storage “Partial Swapping” of Process Memory? Memory Access Patterns Swapping at Page Level? On-demand Paging Virtual Memory Virtual Memory: Beyond Physical Memory
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.