Upload
lk-rigor
View
353
Download
9
Embed Size (px)
DESCRIPTION
Mapúa Institute of Technology Computer Engineering Department Principles of Operating Systems MEMORY MANAGEMENT: MAIN MEMORY By: Lady Krista V. Rigor COE127/B1 1st Term, SY 2014-2015 References: Main Memory. (n.d.) Retrieved from http://www.cs.uic.edu/~jbell/CourseNotes/OperatingSystems/8_MainMemory.html OS Memory Management. (2014). Retrieved from http://www.tutorialspoint.com/operating_system/os_memory_ma nagement.htm McHoes, A. M. and I. Flynn. (2011). Understanding Operating Systems (6th ed.). Boston: Cengage Learning. Silberschatz, A. et al. (2005). Operating System Concepts. New Jersey: John Wiley & Sons, Inc.
Citation preview
MEMORY MANAGEMENT:MAIN MEMORY
Recap
•
•
•
Recap
Recap
Recap
Recap
Objectives
•
•
•
Outline
MAIN MEMORY
BACKGROUND
Background
Background
•
•
•
•
Outline
Background
Basic Hardware
•
•
•
•
Background
Basic Hardware
Background
Basic Hardware
•
•
•
•
•
Background
Basic Hardware
Background
Address Binding
•
•
Background
Address Binding
Background
Logical vs Physical Address Space
•
•
•
•
•
Background
Logical vs Physical Address Space
•
•
Background
Logical vs Physical Address Space
•
•
•
Background
Logical vs Physical Address Space
Background
Logical vs Physical Address Space
•
•
•
Background
Dynamic Loading
•
•
Background
Dynamic Loading
•
•
•
•
•
•
Background
Dynamic Linking and Shared Libraries
•
•
•
•
Background
Dynamic Linking and Shared Libraries
•
•
•
•
•
Background
Dynamic Linking and Shared Libraries
•
•
•
•
Background
SWAPPING
Swapping
•
•
•
Swapping
Outline
•
Swapping
Standard Swapping
•
•
•
•
•
•
Swapping
Standard Swapping
•
•
Swapping
Standard Swapping
•
•
Swapping
Standard Swapping
•
•
•
•
•
Swapping
CONTIGUOUS MEMORY ALLOCATION
Contiguous Memory Allocation
•
•
•
•
•
Outline
Contiguous Memory Allocation
Memory Mapping and Protection
Contiguous Memory Allocation
Memory Mapping and Protection
•
•
•
•
Contiguous Memory Allocation
Memory Allocation
•
•
•
•
Contiguous Memory Allocation
Memory Allocation
•
•
•
•
•
Contiguous Memory Allocation
Fragmentation
•
•
•
Contiguous Memory Allocation
Fragmentation
•
•
•
Contiguous Memory Allocation
Fragmentation
Contiguous Memory Allocation
Fragmentation
•
•
•
•
Contiguous Memory Allocation
Fragmentation
•
•
•
Contiguous Memory Allocation
SEGMENTATION
Outline
Segmentation
Basic Method
•
•
•
•
Segmentation
Basic Method
•
•
•
Segmentation
Segmentation Hardware
•
•
•
•
•
Segmentation
Segmentation Hardware
•
•
• ⇒
•
•
Segmentation
Segmentation Hardware
Segmentation
Segmentation Hardware
Segmentation
PAGING
Paging
•
•
Paging
Outline
Paging
Basic Method
•
•
•
Paging
Basic Method
Basic Method
•
Paging
Basic Method
•
•
•
•
•
•
Paging
Basic Method
Paging
•
Basic Method
•
•
•
•
•
Paging
Basic Method
•
•
•
•
Paging
Basic Method
•
•
Paging
Basic Method
•
•
•
•
Paging
Basic Method
•
•
•
Paging
Basic Method
•
Paging
Basic Method
•
•
Paging
Basic Method
Paging
Basic Method
•
•
•
Paging
Hardware Support
•
•
•
Paging
Hardware Support
•
•
•
Paging
Hardware Support
•
•
•
•
•
Paging
Hardware Support
•
•
•
•
Paging
Hardware Support
•
•
•
Paging
Hardware Support
Paging
Hardware Support
•
•
•
Paging
Hardware Support
•
•
•
•
Paging
Hardware Support
•
•
•
•
Paging
Hardware Support
•
α
•
• α ε
Paging
Hardware Support
•
•
•
•
•
•
•
•
Paging
Hardware Support
•
• α•
• α ε
•
•
Paging
Protection
•
•
•
•
Paging
Protection
•
Paging
Protection
•
•
•
Paging
Protection
•
•
Paging
Shared Pages
•
•
•
Paging
Shared Pages
•
•
Paging
Shared Pages
Paging
Shared Pages
•
•
Paging
STRUCTURE OF PAGE TABLE
Structure of Page Table
•
•
•
•
Structure of Page Table
Outline
Structure of Page Table
Hierarchical Paging
•
•
•
Structure of Page Table
Hierarchical Paging
•
•
•
Structure of Page Table
Hierarchical Paging
Structure of Page Table
Hierarchical Paging
•
•
•
Structure of Page Table
Hierarchical Paging
Structure of Page Table
Hierarchical Paging
•
•
•
Structure of Page Table
Hierarchical Paging
Structure of Page Table
Hierarchical Paging
•
•
Structure of Page Table
Hashed Page Tables
•
•
•
Structure of Page Table
Hashed Page Tables
Structure of Page Table
Inverted Page Tables
•
•
•
Structure of Page Table
Inverted Page Tables
•
•
•
Structure of Page Table
Inverted Page Tables
•
•
Structure of Page Table
Inverted Page Tables
Structure of Page Table
EXAMPLE: THE INTEL PENTIUM
Outline
Example: The Intel Pentium
Pentium Segmentation
•
•
Example: The Intel Pentium
Pentium Segmentation
Example: The Intel Pentium
Pentium Segmentation
•
•
•
•
Example: The Intel Pentium
Pentium Segmentation
•
•
•
•
Example: The Intel Pentium
Pentium Segmentation
•
•
Example: The Intel Pentium
Pentium Segmentation
Example: The Intel Pentium
Pentium Paging
•
•
•
Example: The Intel Pentium
Pentium Paging
•
•
Example: The Intel Pentium
Pentium Paging
Example: The Intel Pentium
Pentium Paging
•
Example: The Intel Pentium
Pentium Paging
Example: The Intel Pentium
“”“”
Download this presentation!
References
•
•
•
•