SlideShare uma empresa Scribd logo
1 de 49
Chapter 2 Memory Management:   Early Systems Understanding Operating Systems, Fourth Edition
Objectives ,[object Object],[object Object],[object Object],[object Object],[object Object],Understanding Operating Systems, Fourth Edition
Objectives (continued) ,[object Object],[object Object],[object Object],Understanding Operating Systems, Fourth Edition
Memory Management:   Early Systems Understanding Operating Systems, Fourth Edition “ Memory is the primary and fundamental power, without which there   could be no other intellectual operation.”  —Samuel Johnson (1709–1784)
Memory Management:   Early Systems ,[object Object],[object Object],[object Object],[object Object],[object Object],Understanding Operating Systems, Fourth Edition
Single-User Contiguous Scheme ,[object Object],[object Object],[object Object],[object Object],[object Object],Understanding Operating Systems, Fourth Edition
Single-User Contiguous Scheme  (continued) ,[object Object],[object Object],[object Object],Understanding Operating Systems, Fourth Edition
Fixed Partitions ,[object Object],[object Object],[object Object],[object Object],[object Object],Understanding Operating Systems, Fourth Edition
Fixed Partitions  (continued) Understanding Operating Systems, Fourth Edition Table 2.1: A  simplified fixed   partition   memory table   with the    free partition   shaded To allocate memory spaces to jobs, the operating system’s   Memory Manager must keep a table  as shown below:
Fixed Partitions  (continued) Understanding Operating Systems, Fourth Edition Figure 2.1:  Main memory use during   fixed partition allocation     of Table 2.1 NOTE:   Job 3 must wait even though 70K of free space is available in Partition 1 where Job 1 occupies only 30K of the 100K available
Fixed Partitions  (continued) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Understanding Operating Systems, Fourth Edition
Dynamic Partitions ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Understanding Operating Systems, Fourth Edition
Dynamic Partitions  (continued) Understanding Operating Systems, Fourth Edition Figure 2.2: Main memory use during dynamic partition allocation
Dynamic Partitions  (continued) Understanding Operating Systems, Fourth Edition Figure 2.2 (continued): Main memory use during dynamic partition allocation
Best-Fit Versus First-Fit Allocation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Understanding Operating Systems, Fourth Edition
Best-Fit Versus First-Fit Allocation  (continued) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Understanding Operating Systems, Fourth Edition
Best-Fit Versus First-Fit Allocation  (continued) Understanding Operating Systems, Fourth Edition Figure 2.3: An example of a first-fit free scheme
Best-Fit Versus First-Fit Allocation  (continued) Understanding Operating Systems, Fourth Edition Figure 2.4: An example of a best-fit free scheme
Best-Fit Versus First-Fit Allocation  (continued) ,[object Object],[object Object],[object Object],[object Object],[object Object],Understanding Operating Systems, Fourth Edition
Best-Fit Versus First-Fit Allocation  (continued) ,[object Object],[object Object],[object Object],Understanding Operating Systems, Fourth Edition
Best-Fit Versus First-Fit Allocation  (continued) Understanding Operating Systems, Fourth Edition Table 2.2: Status  of each memory block   before and after a     request is made  for a block of 200 spaces  using     the first-fit algorithm
Best-Fit Versus First-Fit Allocation  (continued) ,[object Object],[object Object],[object Object],Understanding Operating Systems, Fourth Edition
Best-Fit Versus First-Fit Allocation  (continued) Understanding Operating Systems, Fourth Edition Table 2.3: Status  of each memory block   before and after a     request is made  for a memory block of 200 spaces    using   the  best -fit algorithm
Best-Fit Versus First-Fit Allocation  (continued) ,[object Object],[object Object],[object Object],[object Object],[object Object],Understanding Operating Systems, Fourth Edition
Deallocation ,[object Object],[object Object],[object Object],[object Object],[object Object],Understanding Operating Systems, Fourth Edition
Deallocation  (continued) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Understanding Operating Systems, Fourth Edition
Deallocation :  Dynamic Partition System ,[object Object],[object Object],[object Object],[object Object],[object Object],Understanding Operating Systems, Fourth Edition
Case 1: Joining Two Free Blocks Understanding Operating Systems, Fourth Edition Table 2.4:  Original free   list before deallocation   for Case 1
Case 1: Joining Two Free Blocks  (continued) Understanding Operating Systems, Fourth Edition Table 2.5:  Free   list  after  deallocation   for Case 1
Deallocation:  Dynamic Partition System (continued) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Understanding Operating Systems, Fourth Edition
Case 2: Joining Three Free Blocks Understanding Operating Systems, Fourth Edition Table 2.6:  Original free   list before deallocation   for Case  2
Case 2: Joining Three Free Blocks  (continued) Understanding Operating Systems, Fourth Edition Table 2.7:  Free   list  after job has released memory
Deallocation:  Dynamic Partition System (continued) ,[object Object],[object Object],[object Object],[object Object],Understanding Operating Systems, Fourth Edition
Case 3: Deallocating an Isolated Block Understanding Operating Systems, Fourth Edition Table 2.8:  Original free   list before deallocation   for Case  3
Case 3: Deallocating an Isolated Block  (continued) Understanding Operating Systems, Fourth Edition Table 2.9:  The   job to be deallocated is   of size 445 and begins at   location 8805. The asterisk   indicates the soon-to - be-free memory block. Table 2.9:  Memory list   before deallocation
Case 3: Deallocating an Isolated Block  (continued) Understanding Operating Systems, Fourth Edition Table 2.10: Busy  list after the job has released   its memory.    The   asterisk indicates the new   null entry in the    busy list.
Case 3: Deallocating an Isolated Block  (continued) Understanding Operating Systems, Fourth Edition Table 2.11: Free  list after the job has released   its memory.    The   asterisk indicates the new  free block  entry    replacing the null entry
Relocatable Dynamic Partitions ,[object Object],[object Object],[object Object],Understanding Operating Systems, Fourth Edition
Relocatable Dynamic Partitions (continued) ,[object Object],[object Object],[object Object],[object Object],[object Object],Understanding Operating Systems, Fourth Edition
Relocatable Dynamic Partitions (continued) Understanding Operating Systems, Fourth Edition Figure 2.5: An assembly language program that performs    a simple incremental operation
Relocatable Dynamic Partitions (continued) Understanding Operating Systems, Fourth Edition Figure 2.6:  The original assembly   language program    after it   has been processed by   the   assembler
Relocatable Dynamic Partitions (continued) ,[object Object],[object Object],[object Object],[object Object],Understanding Operating Systems, Fourth Edition
Relocatable Dynamic Partitions (continued) ,[object Object],[object Object],[object Object],[object Object],Understanding Operating Systems, Fourth Edition
Relocatable Dynamic Partitions (continued) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Understanding Operating Systems, Fourth Edition
Relocatable Dynamic Partitions (continued) Understanding Operating Systems, Fourth Edition Figure 2.7:  Three snapshots of memory before and after    compaction
Relocatable Dynamic Partitions (continued) Understanding Operating Systems, Fourth Edition Figure 2.8:  Contents of relocation register and close-up of   Job 4 memory area (a) before relocation and    (b) after   relocation and compaction
Relocatable Dynamic Partitions (continued) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Understanding Operating Systems, Fourth Edition
Summary ,[object Object],[object Object],[object Object],[object Object],Understanding Operating Systems, Fourth Edition
Summary (continued) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Understanding Operating Systems, Fourth Edition

Mais conteúdo relacionado

Mais procurados

contiguous memory allocation.pptx
contiguous memory allocation.pptxcontiguous memory allocation.pptx
contiguous memory allocation.pptxRajapriya82
 
Os unit 3 , process management
Os unit 3 , process managementOs unit 3 , process management
Os unit 3 , process managementArnav Chowdhury
 
Operating System-Ch8 memory management
Operating System-Ch8 memory managementOperating System-Ch8 memory management
Operating System-Ch8 memory managementSyaiful Ahdan
 
File Management in Operating Systems
File Management in Operating SystemsFile Management in Operating Systems
File Management in Operating Systemsvampugani
 
Operating Systems - "Chapter 4: Multithreaded Programming"
Operating Systems - "Chapter 4:  Multithreaded Programming"Operating Systems - "Chapter 4:  Multithreaded Programming"
Operating Systems - "Chapter 4: Multithreaded Programming"Ra'Fat Al-Msie'deen
 
Paging and Segmentation in Operating System
Paging and Segmentation in Operating SystemPaging and Segmentation in Operating System
Paging and Segmentation in Operating SystemRaj Mohan
 
Memory Management in OS
Memory Management in OSMemory Management in OS
Memory Management in OSKumar Pritam
 
Operating systems system structures
Operating systems   system structuresOperating systems   system structures
Operating systems system structuresMukesh Chinta
 
Operating system memory management
Operating system memory managementOperating system memory management
Operating system memory managementrprajat007
 
file system in operating system
file system in operating systemfile system in operating system
file system in operating systemtittuajay
 
Chapter 9 - Virtual Memory
Chapter 9 - Virtual MemoryChapter 9 - Virtual Memory
Chapter 9 - Virtual MemoryWayne Jones Jnr
 
Process management os concept
Process management os conceptProcess management os concept
Process management os conceptpriyadeosarkar91
 
Chapter 11 - File System Implementation
Chapter 11 - File System ImplementationChapter 11 - File System Implementation
Chapter 11 - File System ImplementationWayne Jones Jnr
 
Multi Processors And Multi Computers
 Multi Processors And Multi Computers Multi Processors And Multi Computers
Multi Processors And Multi ComputersNemwos
 
File Management in Operating System
File Management in Operating SystemFile Management in Operating System
File Management in Operating SystemJanki Shah
 

Mais procurados (20)

contiguous memory allocation.pptx
contiguous memory allocation.pptxcontiguous memory allocation.pptx
contiguous memory allocation.pptx
 
Os unit 3 , process management
Os unit 3 , process managementOs unit 3 , process management
Os unit 3 , process management
 
Operating System-Ch8 memory management
Operating System-Ch8 memory managementOperating System-Ch8 memory management
Operating System-Ch8 memory management
 
File Management in Operating Systems
File Management in Operating SystemsFile Management in Operating Systems
File Management in Operating Systems
 
Operating Systems - "Chapter 4: Multithreaded Programming"
Operating Systems - "Chapter 4:  Multithreaded Programming"Operating Systems - "Chapter 4:  Multithreaded Programming"
Operating Systems - "Chapter 4: Multithreaded Programming"
 
Paging and Segmentation in Operating System
Paging and Segmentation in Operating SystemPaging and Segmentation in Operating System
Paging and Segmentation in Operating System
 
Memory Management in OS
Memory Management in OSMemory Management in OS
Memory Management in OS
 
Operating systems system structures
Operating systems   system structuresOperating systems   system structures
Operating systems system structures
 
Operating system memory management
Operating system memory managementOperating system memory management
Operating system memory management
 
file system in operating system
file system in operating systemfile system in operating system
file system in operating system
 
Chapter 9 - Virtual Memory
Chapter 9 - Virtual MemoryChapter 9 - Virtual Memory
Chapter 9 - Virtual Memory
 
Process management os concept
Process management os conceptProcess management os concept
Process management os concept
 
Memory management
Memory managementMemory management
Memory management
 
Distributed Operating System_1
Distributed Operating System_1Distributed Operating System_1
Distributed Operating System_1
 
Chapter 7 - Deadlocks
Chapter 7 - DeadlocksChapter 7 - Deadlocks
Chapter 7 - Deadlocks
 
Chapter 8 - Main Memory
Chapter 8 - Main MemoryChapter 8 - Main Memory
Chapter 8 - Main Memory
 
Distributed system
Distributed systemDistributed system
Distributed system
 
Chapter 11 - File System Implementation
Chapter 11 - File System ImplementationChapter 11 - File System Implementation
Chapter 11 - File System Implementation
 
Multi Processors And Multi Computers
 Multi Processors And Multi Computers Multi Processors And Multi Computers
Multi Processors And Multi Computers
 
File Management in Operating System
File Management in Operating SystemFile Management in Operating System
File Management in Operating System
 

Destaque

Memory Management
Memory ManagementMemory Management
Memory ManagementVisakh V
 
Ch02 early system memory management
Ch02 early system  memory managementCh02 early system  memory management
Ch02 early system memory managementJacob Cadeliña
 
Operating System-Memory Management
Operating System-Memory ManagementOperating System-Memory Management
Operating System-Memory ManagementAkmal Cikmat
 
Understanding operating systems 5th ed ch01
Understanding operating systems 5th ed ch01Understanding operating systems 5th ed ch01
Understanding operating systems 5th ed ch01BarrBoy
 
Understanding operating systems 5th ed ch03
Understanding operating systems 5th ed ch03Understanding operating systems 5th ed ch03
Understanding operating systems 5th ed ch03BarrBoy
 
Operating Systems - Processor Management
Operating Systems - Processor ManagementOperating Systems - Processor Management
Operating Systems - Processor ManagementDamian T. Gordon
 
8 memory management strategies
8 memory management strategies8 memory management strategies
8 memory management strategiesDr. Loganathan R
 
Pearl Car Care - Advanced Technology Waterless Cleaning & Detailing System
Pearl Car Care - Advanced Technology Waterless Cleaning & Detailing SystemPearl Car Care - Advanced Technology Waterless Cleaning & Detailing System
Pearl Car Care - Advanced Technology Waterless Cleaning & Detailing SystemPearl Nano Promotions
 
A study of the worst case ratio of a simple algorithm for simple assembly lin...
A study of the worst case ratio of a simple algorithm for simple assembly lin...A study of the worst case ratio of a simple algorithm for simple assembly lin...
A study of the worst case ratio of a simple algorithm for simple assembly lin...narmo
 
PC Troubleshooting - Module 1
PC Troubleshooting - Module 1PC Troubleshooting - Module 1
PC Troubleshooting - Module 1spseale
 
Introduction to Memory
Introduction to MemoryIntroduction to Memory
Introduction to MemoryJames Atherton
 
Continguous Memory Allocator in the Linux Kernel
Continguous Memory Allocator in the Linux KernelContinguous Memory Allocator in the Linux Kernel
Continguous Memory Allocator in the Linux KernelKernel TLV
 
34 single partition allocation
34 single partition allocation34 single partition allocation
34 single partition allocationmyrajendra
 

Destaque (20)

Memory Management
Memory ManagementMemory Management
Memory Management
 
Ch02 early system memory management
Ch02 early system  memory managementCh02 early system  memory management
Ch02 early system memory management
 
Operating System-Memory Management
Operating System-Memory ManagementOperating System-Memory Management
Operating System-Memory Management
 
Understanding operating systems 5th ed ch01
Understanding operating systems 5th ed ch01Understanding operating systems 5th ed ch01
Understanding operating systems 5th ed ch01
 
Understanding operating systems 5th ed ch03
Understanding operating systems 5th ed ch03Understanding operating systems 5th ed ch03
Understanding operating systems 5th ed ch03
 
Operating Systems - Processor Management
Operating Systems - Processor ManagementOperating Systems - Processor Management
Operating Systems - Processor Management
 
8 memory management strategies
8 memory management strategies8 memory management strategies
8 memory management strategies
 
Memory management1
Memory management1Memory management1
Memory management1
 
Memory
MemoryMemory
Memory
 
como aumentar la capacidad de un disco
como aumentar la capacidad de un discocomo aumentar la capacidad de un disco
como aumentar la capacidad de un disco
 
Advanced system care
Advanced system careAdvanced system care
Advanced system care
 
Instalacion limpia de_windows_xp_villares_y_conde
Instalacion limpia de_windows_xp_villares_y_condeInstalacion limpia de_windows_xp_villares_y_conde
Instalacion limpia de_windows_xp_villares_y_conde
 
Pearl Car Care - Advanced Technology Waterless Cleaning & Detailing System
Pearl Car Care - Advanced Technology Waterless Cleaning & Detailing SystemPearl Car Care - Advanced Technology Waterless Cleaning & Detailing System
Pearl Car Care - Advanced Technology Waterless Cleaning & Detailing System
 
EASEUS partition
EASEUS partitionEASEUS partition
EASEUS partition
 
A study of the worst case ratio of a simple algorithm for simple assembly lin...
A study of the worst case ratio of a simple algorithm for simple assembly lin...A study of the worst case ratio of a simple algorithm for simple assembly lin...
A study of the worst case ratio of a simple algorithm for simple assembly lin...
 
PC Troubleshooting - Module 1
PC Troubleshooting - Module 1PC Troubleshooting - Module 1
PC Troubleshooting - Module 1
 
Contigious
ContigiousContigious
Contigious
 
Introduction to Memory
Introduction to MemoryIntroduction to Memory
Introduction to Memory
 
Continguous Memory Allocator in the Linux Kernel
Continguous Memory Allocator in the Linux KernelContinguous Memory Allocator in the Linux Kernel
Continguous Memory Allocator in the Linux Kernel
 
34 single partition allocation
34 single partition allocation34 single partition allocation
34 single partition allocation
 

Semelhante a Memory management techniques

Understanding operating systems 5th ed ch02
Understanding operating systems 5th ed ch02Understanding operating systems 5th ed ch02
Understanding operating systems 5th ed ch02BarrBoy
 
amer-memory1.ppt
amer-memory1.pptamer-memory1.ppt
amer-memory1.pptRohitPaul71
 
Memory allocation for real time operating system
Memory allocation for real time operating systemMemory allocation for real time operating system
Memory allocation for real time operating systemAsma'a Lafi
 
Unit iiios Storage Management
Unit iiios Storage ManagementUnit iiios Storage Management
Unit iiios Storage Managementdonny101
 
Chapter 8 : Memory
Chapter 8 : MemoryChapter 8 : Memory
Chapter 8 : MemoryAmin Omi
 
Memory Managementgggffffffffffgggggggggg
Memory ManagementgggffffffffffggggggggggMemory Managementgggffffffffffgggggggggg
Memory ManagementgggffffffffffggggggggggBHUPESHRAHANGDALE200
 
Root file system
Root file systemRoot file system
Root file systemBindu U
 
Memory Management
Memory ManagementMemory Management
Memory ManagementSanthiNivas
 
Operating Systems Part III-Memory Management
Operating Systems Part III-Memory ManagementOperating Systems Part III-Memory Management
Operating Systems Part III-Memory ManagementAjit Nayak
 
local_media3192961381667787861026781.pptx
local_media3192961381667787861026781.pptxlocal_media3192961381667787861026781.pptx
local_media3192961381667787861026781.pptxLyn B
 
DB ppt OS unit - 3.pdf
DB ppt OS unit - 3.pdfDB ppt OS unit - 3.pdf
DB ppt OS unit - 3.pdfDBharathi8
 

Semelhante a Memory management techniques (20)

Understanding operating systems 5th ed ch02
Understanding operating systems 5th ed ch02Understanding operating systems 5th ed ch02
Understanding operating systems 5th ed ch02
 
chapter2-OS.pdf
chapter2-OS.pdfchapter2-OS.pdf
chapter2-OS.pdf
 
Chap7
Chap7Chap7
Chap7
 
amer-memory1.ppt
amer-memory1.pptamer-memory1.ppt
amer-memory1.ppt
 
Memory Management
Memory ManagementMemory Management
Memory Management
 
Memory allocation for real time operating system
Memory allocation for real time operating systemMemory allocation for real time operating system
Memory allocation for real time operating system
 
Recovery system
Recovery systemRecovery system
Recovery system
 
unit5_os (1).pptx
unit5_os (1).pptxunit5_os (1).pptx
unit5_os (1).pptx
 
Unit iiios Storage Management
Unit iiios Storage ManagementUnit iiios Storage Management
Unit iiios Storage Management
 
Chapter 8 : Memory
Chapter 8 : MemoryChapter 8 : Memory
Chapter 8 : Memory
 
Memory Management
Memory ManagementMemory Management
Memory Management
 
Memory Managementgggffffffffffgggggggggg
Memory ManagementgggffffffffffggggggggggMemory Managementgggffffffffffgggggggggg
Memory Managementgggffffffffffgggggggggg
 
Root file system
Root file systemRoot file system
Root file system
 
Memory Management
Memory ManagementMemory Management
Memory Management
 
Operating Systems Part III-Memory Management
Operating Systems Part III-Memory ManagementOperating Systems Part III-Memory Management
Operating Systems Part III-Memory Management
 
local_media3192961381667787861026781.pptx
local_media3192961381667787861026781.pptxlocal_media3192961381667787861026781.pptx
local_media3192961381667787861026781.pptx
 
Memory management OS
Memory management OSMemory management OS
Memory management OS
 
Dos
DosDos
Dos
 
DB ppt OS unit - 3.pdf
DB ppt OS unit - 3.pdfDB ppt OS unit - 3.pdf
DB ppt OS unit - 3.pdf
 
CH08.pdf
CH08.pdfCH08.pdf
CH08.pdf
 

Último

Navigating the Data Economy: Transforming Recruitment and Hiring
Navigating the Data Economy: Transforming Recruitment and HiringNavigating the Data Economy: Transforming Recruitment and Hiring
Navigating the Data Economy: Transforming Recruitment and Hiringkaran651042
 
原版定制copy澳洲查尔斯达尔文大学毕业证CDU毕业证成绩单留信学历认证保障质量
原版定制copy澳洲查尔斯达尔文大学毕业证CDU毕业证成绩单留信学历认证保障质量原版定制copy澳洲查尔斯达尔文大学毕业证CDU毕业证成绩单留信学历认证保障质量
原版定制copy澳洲查尔斯达尔文大学毕业证CDU毕业证成绩单留信学历认证保障质量sehgh15heh
 
Outsmarting the Attackers A Deep Dive into Threat Intelligence.docx
Outsmarting the Attackers A Deep Dive into Threat Intelligence.docxOutsmarting the Attackers A Deep Dive into Threat Intelligence.docx
Outsmarting the Attackers A Deep Dive into Threat Intelligence.docxmanas23pgdm157
 
办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样
办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样
办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样umasea
 
Most Inspirational Leaders Empowering the Educational Sector, 2024.pdf
Most Inspirational Leaders Empowering the Educational Sector, 2024.pdfMost Inspirational Leaders Empowering the Educational Sector, 2024.pdf
Most Inspirational Leaders Empowering the Educational Sector, 2024.pdfTheKnowledgeReview2
 
Kindergarten-DLL-MELC-Q3-Week 2 asf.docx
Kindergarten-DLL-MELC-Q3-Week 2 asf.docxKindergarten-DLL-MELC-Q3-Week 2 asf.docx
Kindergarten-DLL-MELC-Q3-Week 2 asf.docxLesterJayAquino
 
办理(Hull毕业证书)英国赫尔大学毕业证成绩单原版一比一
办理(Hull毕业证书)英国赫尔大学毕业证成绩单原版一比一办理(Hull毕业证书)英国赫尔大学毕业证成绩单原版一比一
办理(Hull毕业证书)英国赫尔大学毕业证成绩单原版一比一F La
 
办理学位证(Massey证书)新西兰梅西大学毕业证成绩单原版一比一
办理学位证(Massey证书)新西兰梅西大学毕业证成绩单原版一比一办理学位证(Massey证书)新西兰梅西大学毕业证成绩单原版一比一
办理学位证(Massey证书)新西兰梅西大学毕业证成绩单原版一比一A SSS
 
Digital Marketing Training Institute in Mohali, India
Digital Marketing Training Institute in Mohali, IndiaDigital Marketing Training Institute in Mohali, India
Digital Marketing Training Institute in Mohali, IndiaDigital Discovery Institute
 
Protection of Children in context of IHL and Counter Terrorism
Protection of Children in context of IHL and  Counter TerrorismProtection of Children in context of IHL and  Counter Terrorism
Protection of Children in context of IHL and Counter TerrorismNilendra Kumar
 
定制(Waikato毕业证书)新西兰怀卡托大学毕业证成绩单原版一比一
定制(Waikato毕业证书)新西兰怀卡托大学毕业证成绩单原版一比一定制(Waikato毕业证书)新西兰怀卡托大学毕业证成绩单原版一比一
定制(Waikato毕业证书)新西兰怀卡托大学毕业证成绩单原版一比一Fs
 
LinkedIn Strategic Guidelines April 2024
LinkedIn Strategic Guidelines April 2024LinkedIn Strategic Guidelines April 2024
LinkedIn Strategic Guidelines April 2024Bruce Bennett
 
Graduate Trainee Officer Job in Bank Al Habib 2024.docx
Graduate Trainee Officer Job in Bank Al Habib 2024.docxGraduate Trainee Officer Job in Bank Al Habib 2024.docx
Graduate Trainee Officer Job in Bank Al Habib 2024.docxJobs Finder Hub
 
办理老道明大学毕业证成绩单|购买美国ODU文凭证书
办理老道明大学毕业证成绩单|购买美国ODU文凭证书办理老道明大学毕业证成绩单|购买美国ODU文凭证书
办理老道明大学毕业证成绩单|购买美国ODU文凭证书saphesg8
 
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一A SSS
 
办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改
办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改
办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改yuu sss
 
ME 205- Chapter 6 - Pure Bending of Beams.pdf
ME 205- Chapter 6 - Pure Bending of Beams.pdfME 205- Chapter 6 - Pure Bending of Beams.pdf
ME 205- Chapter 6 - Pure Bending of Beams.pdfaae4149584
 
LESSON O1_The Meaning and Importance of MICE.pdf
LESSON O1_The Meaning and Importance of MICE.pdfLESSON O1_The Meaning and Importance of MICE.pdf
LESSON O1_The Meaning and Importance of MICE.pdf0471992maroyal
 
办理哈珀亚当斯大学学院毕业证书文凭学位证书
办理哈珀亚当斯大学学院毕业证书文凭学位证书办理哈珀亚当斯大学学院毕业证书文凭学位证书
办理哈珀亚当斯大学学院毕业证书文凭学位证书saphesg8
 
原版快速办理MQU毕业证麦考瑞大学毕业证成绩单留信学历认证
原版快速办理MQU毕业证麦考瑞大学毕业证成绩单留信学历认证原版快速办理MQU毕业证麦考瑞大学毕业证成绩单留信学历认证
原版快速办理MQU毕业证麦考瑞大学毕业证成绩单留信学历认证nhjeo1gg
 

Último (20)

Navigating the Data Economy: Transforming Recruitment and Hiring
Navigating the Data Economy: Transforming Recruitment and HiringNavigating the Data Economy: Transforming Recruitment and Hiring
Navigating the Data Economy: Transforming Recruitment and Hiring
 
原版定制copy澳洲查尔斯达尔文大学毕业证CDU毕业证成绩单留信学历认证保障质量
原版定制copy澳洲查尔斯达尔文大学毕业证CDU毕业证成绩单留信学历认证保障质量原版定制copy澳洲查尔斯达尔文大学毕业证CDU毕业证成绩单留信学历认证保障质量
原版定制copy澳洲查尔斯达尔文大学毕业证CDU毕业证成绩单留信学历认证保障质量
 
Outsmarting the Attackers A Deep Dive into Threat Intelligence.docx
Outsmarting the Attackers A Deep Dive into Threat Intelligence.docxOutsmarting the Attackers A Deep Dive into Threat Intelligence.docx
Outsmarting the Attackers A Deep Dive into Threat Intelligence.docx
 
办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样
办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样
办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样
 
Most Inspirational Leaders Empowering the Educational Sector, 2024.pdf
Most Inspirational Leaders Empowering the Educational Sector, 2024.pdfMost Inspirational Leaders Empowering the Educational Sector, 2024.pdf
Most Inspirational Leaders Empowering the Educational Sector, 2024.pdf
 
Kindergarten-DLL-MELC-Q3-Week 2 asf.docx
Kindergarten-DLL-MELC-Q3-Week 2 asf.docxKindergarten-DLL-MELC-Q3-Week 2 asf.docx
Kindergarten-DLL-MELC-Q3-Week 2 asf.docx
 
办理(Hull毕业证书)英国赫尔大学毕业证成绩单原版一比一
办理(Hull毕业证书)英国赫尔大学毕业证成绩单原版一比一办理(Hull毕业证书)英国赫尔大学毕业证成绩单原版一比一
办理(Hull毕业证书)英国赫尔大学毕业证成绩单原版一比一
 
办理学位证(Massey证书)新西兰梅西大学毕业证成绩单原版一比一
办理学位证(Massey证书)新西兰梅西大学毕业证成绩单原版一比一办理学位证(Massey证书)新西兰梅西大学毕业证成绩单原版一比一
办理学位证(Massey证书)新西兰梅西大学毕业证成绩单原版一比一
 
Digital Marketing Training Institute in Mohali, India
Digital Marketing Training Institute in Mohali, IndiaDigital Marketing Training Institute in Mohali, India
Digital Marketing Training Institute in Mohali, India
 
Protection of Children in context of IHL and Counter Terrorism
Protection of Children in context of IHL and  Counter TerrorismProtection of Children in context of IHL and  Counter Terrorism
Protection of Children in context of IHL and Counter Terrorism
 
定制(Waikato毕业证书)新西兰怀卡托大学毕业证成绩单原版一比一
定制(Waikato毕业证书)新西兰怀卡托大学毕业证成绩单原版一比一定制(Waikato毕业证书)新西兰怀卡托大学毕业证成绩单原版一比一
定制(Waikato毕业证书)新西兰怀卡托大学毕业证成绩单原版一比一
 
LinkedIn Strategic Guidelines April 2024
LinkedIn Strategic Guidelines April 2024LinkedIn Strategic Guidelines April 2024
LinkedIn Strategic Guidelines April 2024
 
Graduate Trainee Officer Job in Bank Al Habib 2024.docx
Graduate Trainee Officer Job in Bank Al Habib 2024.docxGraduate Trainee Officer Job in Bank Al Habib 2024.docx
Graduate Trainee Officer Job in Bank Al Habib 2024.docx
 
办理老道明大学毕业证成绩单|购买美国ODU文凭证书
办理老道明大学毕业证成绩单|购买美国ODU文凭证书办理老道明大学毕业证成绩单|购买美国ODU文凭证书
办理老道明大学毕业证成绩单|购买美国ODU文凭证书
 
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一
 
办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改
办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改
办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改
 
ME 205- Chapter 6 - Pure Bending of Beams.pdf
ME 205- Chapter 6 - Pure Bending of Beams.pdfME 205- Chapter 6 - Pure Bending of Beams.pdf
ME 205- Chapter 6 - Pure Bending of Beams.pdf
 
LESSON O1_The Meaning and Importance of MICE.pdf
LESSON O1_The Meaning and Importance of MICE.pdfLESSON O1_The Meaning and Importance of MICE.pdf
LESSON O1_The Meaning and Importance of MICE.pdf
 
办理哈珀亚当斯大学学院毕业证书文凭学位证书
办理哈珀亚当斯大学学院毕业证书文凭学位证书办理哈珀亚当斯大学学院毕业证书文凭学位证书
办理哈珀亚当斯大学学院毕业证书文凭学位证书
 
原版快速办理MQU毕业证麦考瑞大学毕业证成绩单留信学历认证
原版快速办理MQU毕业证麦考瑞大学毕业证成绩单留信学历认证原版快速办理MQU毕业证麦考瑞大学毕业证成绩单留信学历认证
原版快速办理MQU毕业证麦考瑞大学毕业证成绩单留信学历认证
 

Memory management techniques

  • 1. Chapter 2 Memory Management: Early Systems Understanding Operating Systems, Fourth Edition
  • 2.
  • 3.
  • 4. Memory Management: Early Systems Understanding Operating Systems, Fourth Edition “ Memory is the primary and fundamental power, without which there could be no other intellectual operation.” —Samuel Johnson (1709–1784)
  • 5.
  • 6.
  • 7.
  • 8.
  • 9. Fixed Partitions (continued) Understanding Operating Systems, Fourth Edition Table 2.1: A simplified fixed partition memory table with the free partition shaded To allocate memory spaces to jobs, the operating system’s Memory Manager must keep a table as shown below:
  • 10. Fixed Partitions (continued) Understanding Operating Systems, Fourth Edition Figure 2.1: Main memory use during fixed partition allocation of Table 2.1 NOTE: Job 3 must wait even though 70K of free space is available in Partition 1 where Job 1 occupies only 30K of the 100K available
  • 11.
  • 12.
  • 13. Dynamic Partitions (continued) Understanding Operating Systems, Fourth Edition Figure 2.2: Main memory use during dynamic partition allocation
  • 14. Dynamic Partitions (continued) Understanding Operating Systems, Fourth Edition Figure 2.2 (continued): Main memory use during dynamic partition allocation
  • 15.
  • 16.
  • 17. Best-Fit Versus First-Fit Allocation (continued) Understanding Operating Systems, Fourth Edition Figure 2.3: An example of a first-fit free scheme
  • 18. Best-Fit Versus First-Fit Allocation (continued) Understanding Operating Systems, Fourth Edition Figure 2.4: An example of a best-fit free scheme
  • 19.
  • 20.
  • 21. Best-Fit Versus First-Fit Allocation (continued) Understanding Operating Systems, Fourth Edition Table 2.2: Status of each memory block before and after a request is made for a block of 200 spaces using the first-fit algorithm
  • 22.
  • 23. Best-Fit Versus First-Fit Allocation (continued) Understanding Operating Systems, Fourth Edition Table 2.3: Status of each memory block before and after a request is made for a memory block of 200 spaces using the best -fit algorithm
  • 24.
  • 25.
  • 26.
  • 27.
  • 28. Case 1: Joining Two Free Blocks Understanding Operating Systems, Fourth Edition Table 2.4: Original free list before deallocation for Case 1
  • 29. Case 1: Joining Two Free Blocks (continued) Understanding Operating Systems, Fourth Edition Table 2.5: Free list after deallocation for Case 1
  • 30.
  • 31. Case 2: Joining Three Free Blocks Understanding Operating Systems, Fourth Edition Table 2.6: Original free list before deallocation for Case 2
  • 32. Case 2: Joining Three Free Blocks (continued) Understanding Operating Systems, Fourth Edition Table 2.7: Free list after job has released memory
  • 33.
  • 34. Case 3: Deallocating an Isolated Block Understanding Operating Systems, Fourth Edition Table 2.8: Original free list before deallocation for Case 3
  • 35. Case 3: Deallocating an Isolated Block (continued) Understanding Operating Systems, Fourth Edition Table 2.9: The job to be deallocated is of size 445 and begins at location 8805. The asterisk indicates the soon-to - be-free memory block. Table 2.9: Memory list before deallocation
  • 36. Case 3: Deallocating an Isolated Block (continued) Understanding Operating Systems, Fourth Edition Table 2.10: Busy list after the job has released its memory. The asterisk indicates the new null entry in the busy list.
  • 37. Case 3: Deallocating an Isolated Block (continued) Understanding Operating Systems, Fourth Edition Table 2.11: Free list after the job has released its memory. The asterisk indicates the new free block entry replacing the null entry
  • 38.
  • 39.
  • 40. Relocatable Dynamic Partitions (continued) Understanding Operating Systems, Fourth Edition Figure 2.5: An assembly language program that performs a simple incremental operation
  • 41. Relocatable Dynamic Partitions (continued) Understanding Operating Systems, Fourth Edition Figure 2.6: The original assembly language program after it has been processed by the assembler
  • 42.
  • 43.
  • 44.
  • 45. Relocatable Dynamic Partitions (continued) Understanding Operating Systems, Fourth Edition Figure 2.7: Three snapshots of memory before and after compaction
  • 46. Relocatable Dynamic Partitions (continued) Understanding Operating Systems, Fourth Edition Figure 2.8: Contents of relocation register and close-up of Job 4 memory area (a) before relocation and (b) after relocation and compaction
  • 47.
  • 48.
  • 49.