SlideShare una empresa de Scribd logo
1 de 63
MEMORY MANAGEMENT 4.1 Basic memory management 4.2 Swapping 4.3 Virtual memory 4.4 Page replacement algorithms 4.5 Modeling page replacement algorithms 4.6 Design issues for paging systems 4.7 Implementation issues 4.8 Segmentation
MEMORY MANAGEMENT ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BASIC MEMORY MANAGEMENT MONOPROGRAMMING WITHOUT SWAPPING OR PAGING ,[object Object],[object Object]
MULTIPROGRAMMING WITH FIXED PARTITIONS ,[object Object],[object Object],[object Object]
MODELING MULTIPROGRAMMING ,[object Object],Degree of multiprogramming
ANALYSIS OF MULTIPROGRAMMING SYSTEM PERFORMANCE ,[object Object],[object Object],[object Object],[object Object]
RELOCATION AND PROTECTION ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
SWAPPING (1) ,[object Object],[object Object],[object Object],[object Object]
SWAPPING (2) ,[object Object],[object Object]
MEMORY MANAGEMENT WITH BIT MAPS ,[object Object],[object Object],[object Object],[object Object],[object Object]
MEMORY MANAGEMENT WITH LINKED LISTS ,[object Object]
VIRTUAL MEMORY PAGING (1) ,[object Object]
PAGING (2) ,[object Object]
PAGE  TABLES (1) ,[object Object]
PAGE TABLES (2) ,[object Object],[object Object],Second-level page tables Top-level  page table
PAGE TABLES (3) ,[object Object]
TLBS – TRANSLATION LOOKASIDE BUFFERS ,[object Object]
INVERTED PAGE TABLES ,[object Object]
PAGE REPLACEMENT ALGORITHMS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
OPTIMAL PAGE REPLACEMENT ALGORITHM ,[object Object],[object Object],[object Object],[object Object],[object Object]
NOT RECENTLY USED PAGE REPLACEMENT ALGORITHM ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
FIFO PAGE REPLACEMENT ALGORITHM ,[object Object],[object Object],[object Object],[object Object],[object Object]
SECOND CHANCE PAGE REPLACEMENT ALGORITHM ,[object Object],[object Object],[object Object]
THE CLOCK PAGE REPLACEMENT ALGORITHM
LEAST RECENTLY USED (LRU) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
SIMULATING LRU IN SOFTWARE (1) ,[object Object]
SIMULATING LRU IN SOFTWARE (2) ,[object Object],[object Object]
THE WORKING SET PAGE REPLACEMENT ALGORITHM (1) ,[object Object],[object Object]
THE WORKING SET PAGE REPLACEMENT ALGORITHM (2) ,[object Object]
THE WSCLOCK PAGE REPLACEMENT ALGORITHM ,[object Object]
REVIEW OF PAGE REPLACEMENT ALGORITHMS
MODELING PAGE REPLACEMENT ALGORITHMS BELADY'S ANOMALY ,[object Object],[object Object],[object Object]
STACK ALGORITHMS ,[object Object],7  4  6  5
THE DISTANCE STRING ,[object Object]
THE DISTANCE STRING ,[object Object],[object Object],[object Object]
DESIGN ISSUES FOR PAGING SYSTEMS LOCAL VERSUS GLOBAL ALLOCATION POLICIES (1) ,[object Object],[object Object],[object Object]
LOCAL VERSUS GLOBAL ALLOCATION POLICIES (2) ,[object Object]
LOAD CONTROL ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
PAGE SIZE (1) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
PAGE SIZE (2) ,[object Object],[object Object],[object Object],[object Object],[object Object],page table space internal fragmentation Optimized when
SEPARATE INSTRUCTION AND DATA SPACES ,[object Object],[object Object]
SHARED PAGES ,[object Object]
CLEANING POLICY ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
IMPLEMENTATION ISSUES OPERATING SYSTEM INVOLVEMENT WITH PAGING ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
PAGE FAULT HANDLING (1) ,[object Object],[object Object],[object Object],[object Object],[object Object]
PAGE FAULT HANDLING (2) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
INSTRUCTION BACKUP ,[object Object]
LOCKING PAGES IN MEMORY ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BACKING STORE ,[object Object],[object Object]
SEPARATION OF POLICY AND MECHANISM ,[object Object]
SEGMENTATION (1) ,[object Object],[object Object]
SEGMENTATION (2) ,[object Object]
SEGMENTATION (3) ,[object Object]
IMPLEMENTATION OF PURE SEGMENTATION ,[object Object],[object Object]
SEGMENTATION WITH PAGING: MULTICS (1) ,[object Object],[object Object]
SEGMENTATION WITH PAGING: MULTICS (2) ,[object Object]
SEGMENTATION WITH PAGING: MULTICS (3) ,[object Object]
SEGMENTATION WITH PAGING: MULTICS (4) ,[object Object],[object Object]
SEGMENTATION WITH PAGING: PENTIUM (1) ,[object Object]
SEGMENTATION WITH PAGING: PENTIUM (2) ,[object Object],[object Object]
SEGMENTATION WITH PAGING: PENTIUM (3) ,[object Object]
SEGMENTATION WITH PAGING: PENTIUM (4) ,[object Object]
SEGMENTATION WITH PAGING: PENTIUM (5) ,[object Object],Level

Más contenido relacionado

La actualidad más candente

41 page replacement fifo
41 page replacement fifo41 page replacement fifo
41 page replacement fifo
myrajendra
 

La actualidad más candente (20)

Cache memory ppt
Cache memory ppt  Cache memory ppt
Cache memory ppt
 
Virtual memory
Virtual memoryVirtual memory
Virtual memory
 
Memory Management
Memory ManagementMemory Management
Memory Management
 
Structure of the page table
Structure of the page tableStructure of the page table
Structure of the page table
 
Operating system Memory management
Operating system Memory management Operating system Memory management
Operating system Memory management
 
Memory management
Memory managementMemory management
Memory management
 
Virtual Memory in Operating System
Virtual Memory in Operating SystemVirtual Memory in Operating System
Virtual Memory in Operating System
 
Computer architecture page replacement algorithms
Computer architecture page replacement algorithmsComputer architecture page replacement algorithms
Computer architecture page replacement algorithms
 
Paging and segmentation
Paging and segmentationPaging and segmentation
Paging and segmentation
 
Computer architecture cache memory
Computer architecture cache memoryComputer architecture cache memory
Computer architecture cache memory
 
Memory management
Memory managementMemory management
Memory management
 
Virtual memory ppt
Virtual memory pptVirtual memory ppt
Virtual memory ppt
 
Memory management ppt
Memory management pptMemory management ppt
Memory management ppt
 
Elements of cache design
Elements of cache designElements of cache design
Elements of cache design
 
Virtual memory ppts
Virtual memory pptsVirtual memory ppts
Virtual memory ppts
 
Swapping | Computer Science
Swapping | Computer ScienceSwapping | Computer Science
Swapping | Computer Science
 
Memory management
Memory managementMemory management
Memory management
 
Draw and explain the architecture of general purpose microprocessor
Draw and explain the architecture of general purpose microprocessor Draw and explain the architecture of general purpose microprocessor
Draw and explain the architecture of general purpose microprocessor
 
41 page replacement fifo
41 page replacement fifo41 page replacement fifo
41 page replacement fifo
 
Operating system 37 demand paging
Operating system 37 demand pagingOperating system 37 demand paging
Operating system 37 demand paging
 

Destacado

Memory management
Memory managementMemory management
Memory management
Slideshare
 
Unit 4 memory system
Unit 4   memory systemUnit 4   memory system
Unit 4 memory system
chidabdu
 
Virtual memory
Virtual memoryVirtual memory
Virtual memory
Anuj Modi
 

Destacado (20)

Operating System-Memory Management
Operating System-Memory ManagementOperating System-Memory Management
Operating System-Memory Management
 
Operating Systems and Memory Management
Operating Systems and Memory ManagementOperating Systems and Memory Management
Operating Systems and Memory Management
 
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
 
Operating Systems: Memory Management
Operating Systems: Memory ManagementOperating Systems: Memory Management
Operating Systems: Memory Management
 
Memory management
Memory managementMemory management
Memory management
 
Memory Management
Memory ManagementMemory Management
Memory Management
 
Software quality
Software qualitySoftware quality
Software quality
 
Virtual memory managment
Virtual memory managmentVirtual memory managment
Virtual memory managment
 
Operating system memory management
Operating system memory managementOperating system memory management
Operating system memory management
 
Paging
PagingPaging
Paging
 
Unit 4 memory system
Unit 4   memory systemUnit 4   memory system
Unit 4 memory system
 
9 virtual memory management
9 virtual memory management9 virtual memory management
9 virtual memory management
 
Deadlocks in operating system
Deadlocks in operating systemDeadlocks in operating system
Deadlocks in operating system
 
Operating Systems: Virtual Memory
Operating Systems: Virtual MemoryOperating Systems: Virtual Memory
Operating Systems: Virtual Memory
 
Virtual memory
Virtual memoryVirtual memory
Virtual memory
 
8 memory management strategies
8 memory management strategies8 memory management strategies
8 memory management strategies
 
Migrate PHP E-Commerce Site to Go
Migrate PHP E-Commerce Site to GoMigrate PHP E-Commerce Site to Go
Migrate PHP E-Commerce Site to Go
 
Ch4 memory management
Ch4 memory managementCh4 memory management
Ch4 memory management
 
Dynamic memory allocation
Dynamic memory allocationDynamic memory allocation
Dynamic memory allocation
 
E commerce site
E commerce siteE commerce site
E commerce site
 

Similar a Memory Management

Chapter 04
Chapter 04Chapter 04
Chapter 04
Google
 
Ch10 OS
Ch10 OSCh10 OS
Ch10 OS
C.U
 
Understanding operating systems 5th ed ch03
Understanding operating systems 5th ed ch03Understanding operating systems 5th ed ch03
Understanding operating systems 5th ed ch03
BarrBoy
 

Similar a Memory Management (20)

Chapter 04
Chapter 04Chapter 04
Chapter 04
 
ikh311-06
ikh311-06ikh311-06
ikh311-06
 
memory
memorymemory
memory
 
4 (1)
4 (1)4 (1)
4 (1)
 
chap.4.memory.manag.ppt
chap.4.memory.manag.pptchap.4.memory.manag.ppt
chap.4.memory.manag.ppt
 
Distributed Operating System_3
Distributed Operating System_3Distributed Operating System_3
Distributed Operating System_3
 
LRU_Replacement-Policy.pdf
LRU_Replacement-Policy.pdfLRU_Replacement-Policy.pdf
LRU_Replacement-Policy.pdf
 
Hardware implementation of page table
Hardware implementation of page table Hardware implementation of page table
Hardware implementation of page table
 
virtual memory
virtual memoryvirtual memory
virtual memory
 
OSCh10
OSCh10OSCh10
OSCh10
 
Ch10 OS
Ch10 OSCh10 OS
Ch10 OS
 
OS_Ch10
OS_Ch10OS_Ch10
OS_Ch10
 
Csc4320 chapter 8 2
Csc4320 chapter 8 2Csc4320 chapter 8 2
Csc4320 chapter 8 2
 
381 ccs chapter6_updated(2)
381 ccs chapter6_updated(2)381 ccs chapter6_updated(2)
381 ccs chapter6_updated(2)
 
Understanding operating systems 5th ed ch03
Understanding operating systems 5th ed ch03Understanding operating systems 5th ed ch03
Understanding operating systems 5th ed ch03
 
Memory+management
Memory+managementMemory+management
Memory+management
 
Ch09
Ch09Ch09
Ch09
 
381 ccs chapter7_updated(1)
381 ccs chapter7_updated(1)381 ccs chapter7_updated(1)
381 ccs chapter7_updated(1)
 
understanding-operating-systems-Banu.ppt
understanding-operating-systems-Banu.pptunderstanding-operating-systems-Banu.ppt
understanding-operating-systems-Banu.ppt
 
Chapter 8 - Main Memory
Chapter 8 - Main MemoryChapter 8 - Main Memory
Chapter 8 - Main Memory
 

Más de Ramasubbu .P (20)

radar
radarradar
radar
 
Press
PressPress
Press
 
Milling 2
Milling 2Milling 2
Milling 2
 
MIlling 1
MIlling 1MIlling 1
MIlling 1
 
Drillings
DrillingsDrillings
Drillings
 
Holding
HoldingHolding
Holding
 
Saftey
SafteySaftey
Saftey
 
Harvesting
HarvestingHarvesting
Harvesting
 
Plough
PloughPlough
Plough
 
Tractor PTO
Tractor PTOTractor PTO
Tractor PTO
 
Tractor Components
Tractor ComponentsTractor Components
Tractor Components
 
MSAT
MSATMSAT
MSAT
 
GPS
GPSGPS
GPS
 
RTOS
RTOSRTOS
RTOS
 
Virus
VirusVirus
Virus
 
Hacker
HackerHacker
Hacker
 
Denail of Service
Denail of ServiceDenail of Service
Denail of Service
 
RAID CONCEPT
RAID CONCEPTRAID CONCEPT
RAID CONCEPT
 
Network Security
Network SecurityNetwork Security
Network Security
 
Timer
TimerTimer
Timer
 

Último

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
SoniaTolstoy
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 

Último (20)

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 

Memory Management

  • 1. MEMORY MANAGEMENT 4.1 Basic memory management 4.2 Swapping 4.3 Virtual memory 4.4 Page replacement algorithms 4.5 Modeling page replacement algorithms 4.6 Design issues for paging systems 4.7 Implementation issues 4.8 Segmentation
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24. THE CLOCK PAGE REPLACEMENT ALGORITHM
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31. REVIEW OF PAGE REPLACEMENT ALGORITHMS
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.
  • 49.
  • 50.
  • 51.
  • 52.
  • 53.
  • 54.
  • 55.
  • 56.
  • 57.
  • 58.
  • 59.
  • 60.
  • 61.
  • 62.
  • 63.