SlideShare a Scribd company logo
1 of 128
Download to read offline
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
•
•
•
•
Memory Management: Main Memory

More Related Content

Viewers also liked

Introduction to Engineering Design Process
Introduction to Engineering Design ProcessIntroduction to Engineering Design Process
Introduction to Engineering Design ProcessLk Rigor
 
Simple Stress: Normal Stress
Simple Stress: Normal StressSimple Stress: Normal Stress
Simple Stress: Normal StressLk Rigor
 
Operating system memory management
Operating system memory managementOperating system memory management
Operating system memory managementrprajat007
 
Combined paging and segmentation
Combined paging and segmentationCombined paging and segmentation
Combined paging and segmentationTech_MX
 
Normal stress & Shear Stress
 Normal stress & Shear Stress Normal stress & Shear Stress
Normal stress & Shear StressMESHAL ALMUTAIRI
 
A presentation on shear stress (10.01.03.139)
A presentation on shear stress (10.01.03.139)A presentation on shear stress (10.01.03.139)
A presentation on shear stress (10.01.03.139)Pias Chakraborty
 
Stress vs. Strain Curve
Stress vs. Strain CurveStress vs. Strain Curve
Stress vs. Strain Curvejuliesypoq
 
Virtual Memory and Paging
Virtual Memory and PagingVirtual Memory and Paging
Virtual Memory and PagingEmery Berger
 
Analog computers digital computers & Hybrid computers
Analog computers digital computers & Hybrid computersAnalog computers digital computers & Hybrid computers
Analog computers digital computers & Hybrid computersZaid Hussain
 
Structural Mechanics: Shear stress in Beams (1st-Year)
Structural Mechanics: Shear stress in Beams (1st-Year)Structural Mechanics: Shear stress in Beams (1st-Year)
Structural Mechanics: Shear stress in Beams (1st-Year)Alessandro Palmeri
 
Deadlocks in operating system
Deadlocks in operating systemDeadlocks in operating system
Deadlocks in operating systemSara Ali
 
Unit 4 memory system
Unit 4   memory systemUnit 4   memory system
Unit 4 memory systemchidabdu
 
Os Swapping, Paging, Segmentation and Virtual Memory
Os Swapping, Paging, Segmentation and Virtual MemoryOs Swapping, Paging, Segmentation and Virtual Memory
Os Swapping, Paging, Segmentation and Virtual Memorysgpraju
 

Viewers also liked (20)

Paging
PagingPaging
Paging
 
Introduction to Engineering Design Process
Introduction to Engineering Design ProcessIntroduction to Engineering Design Process
Introduction to Engineering Design Process
 
Simple Stress: Normal Stress
Simple Stress: Normal StressSimple Stress: Normal Stress
Simple Stress: Normal Stress
 
Operating system memory management
Operating system memory managementOperating system memory management
Operating system memory management
 
Combined paging and segmentation
Combined paging and segmentationCombined paging and segmentation
Combined paging and segmentation
 
Normal stress & Shear Stress
 Normal stress & Shear Stress Normal stress & Shear Stress
Normal stress & Shear Stress
 
Stress strain curve
Stress strain curveStress strain curve
Stress strain curve
 
A presentation on shear stress (10.01.03.139)
A presentation on shear stress (10.01.03.139)A presentation on shear stress (10.01.03.139)
A presentation on shear stress (10.01.03.139)
 
Chapter 8 - Main Memory
Chapter 8 - Main MemoryChapter 8 - Main Memory
Chapter 8 - Main Memory
 
Stress vs. Strain Curve
Stress vs. Strain CurveStress vs. Strain Curve
Stress vs. Strain Curve
 
Virtual Memory and Paging
Virtual Memory and PagingVirtual Memory and Paging
Virtual Memory and Paging
 
Analog computers digital computers & Hybrid computers
Analog computers digital computers & Hybrid computersAnalog computers digital computers & Hybrid computers
Analog computers digital computers & Hybrid computers
 
Structural Mechanics: Shear stress in Beams (1st-Year)
Structural Mechanics: Shear stress in Beams (1st-Year)Structural Mechanics: Shear stress in Beams (1st-Year)
Structural Mechanics: Shear stress in Beams (1st-Year)
 
Paging and segmentation
Paging and segmentationPaging and segmentation
Paging and segmentation
 
Deadlocks in operating system
Deadlocks in operating systemDeadlocks in operating system
Deadlocks in operating system
 
Deadlock ppt
Deadlock ppt Deadlock ppt
Deadlock ppt
 
Unit 4 memory system
Unit 4   memory systemUnit 4   memory system
Unit 4 memory system
 
Os Swapping, Paging, Segmentation and Virtual Memory
Os Swapping, Paging, Segmentation and Virtual MemoryOs Swapping, Paging, Segmentation and Virtual Memory
Os Swapping, Paging, Segmentation and Virtual Memory
 
Memory hierarchy
Memory hierarchyMemory hierarchy
Memory hierarchy
 
Virtual memory ppt
Virtual memory pptVirtual memory ppt
Virtual memory ppt
 

Recently uploaded

Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersMairaAshraf6
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxSCMS School of Architecture
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilVinayVitekari
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxNadaHaitham1
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"mphochane1998
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptNANDHAKUMARA10
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesRAJNEESHKUMAR341697
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdfKamal Acharya
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...Amil baba
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdfKamal Acharya
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsvanyagupta248
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 

Recently uploaded (20)

Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech Civil
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptx
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 

Memory Management: Main Memory