SlideShare a Scribd company logo
1 of 8
Swapping is the process of exchanging pages, segment of memory and values
to another location. It occurs in three types.
 A process can be swapped temporarily out of memory to a backing store, and
then brought back into memory for continued execution, here backing store is
the fast disk large enough to accommodate copies of all memory images for all
users and must provide direct access to these memory images.
The first UNIX system kernels monitored the amount of free memory
constantly. When it became less than a fixed threshold, they performed some
swapping out. This activity consisted of copying the entire address space of a
process to disk. Conversely, when the scheduling algorithm selected a swapped
– out process, the whole process was swapped in from disk.
Swapping in OS
Swapping in Linux
 Swap space in Linux is used when the amount of physical memory
(RAM) is full. If the system needs more memory resources and the RAM is
full, inactive pages in memory are moved to the swap space. While swap
space can help machines with a small amount of RAM, it should not be
considered a replacement for more RAM.
 The swap cache is crucial to avoid race conditions among processes
trying to access pages that are being swapped. The swap cache collects
shared page frames that have been copied to swap areas. It does not exist
as a data structure on its own; instead, the pages in the regular page
cache are considered to be in swap cache if certain fields are set.
Swap area
Swap cache
This was just a summary on Swapping. For more detailed information on
this topic, please type the link given below or copy it from the description
of this PPT and open it in a new browser window.
www.transtutors.com/homework-help/computer-science/operating-system/memory-
management/swapping/

More Related Content

What's hot

Operating system paging and segmentation
Operating system paging and segmentationOperating system paging and segmentation
Operating system paging and segmentationhamza haseeb
 
Computer system architecture
Computer system architectureComputer system architecture
Computer system architecturevenkateswarlu G
 
Operating system 33 swapping
Operating system 33 swappingOperating system 33 swapping
Operating system 33 swappingVaibhav Khanna
 
Distributed Database System
Distributed Database SystemDistributed Database System
Distributed Database SystemSulemang
 
Operating system memory management
Operating system memory managementOperating system memory management
Operating system memory managementrprajat007
 
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
 
Contiguous Memory Allocation.ppt
Contiguous Memory Allocation.pptContiguous Memory Allocation.ppt
Contiguous Memory Allocation.pptinfomerlin
 
Thrashing allocation frames.43
Thrashing allocation frames.43Thrashing allocation frames.43
Thrashing allocation frames.43myrajendra
 
distributed Computing system model
distributed Computing system modeldistributed Computing system model
distributed Computing system modelHarshad Umredkar
 
File Management in Operating Systems
File Management in Operating SystemsFile Management in Operating Systems
File Management in Operating Systemsvampugani
 
OS Memory Management
OS Memory ManagementOS Memory Management
OS Memory Managementanand hd
 

What's hot (20)

Memory Management
Memory ManagementMemory Management
Memory Management
 
Page Replacement
Page ReplacementPage Replacement
Page Replacement
 
Operating system paging and segmentation
Operating system paging and segmentationOperating system paging and segmentation
Operating system paging and segmentation
 
Computer system architecture
Computer system architectureComputer system architecture
Computer system architecture
 
Paging and segmentation
Paging and segmentationPaging and segmentation
Paging and segmentation
 
Process state in OS
Process state in OSProcess state in OS
Process state in OS
 
Operating system 33 swapping
Operating system 33 swappingOperating system 33 swapping
Operating system 33 swapping
 
Distributed Database System
Distributed Database SystemDistributed Database System
Distributed Database System
 
Operating system memory management
Operating system memory managementOperating system memory management
Operating system 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
 
Distributed shared memory ch 5
Distributed shared memory ch 5Distributed shared memory ch 5
Distributed shared memory ch 5
 
Contiguous Memory Allocation.ppt
Contiguous Memory Allocation.pptContiguous Memory Allocation.ppt
Contiguous Memory Allocation.ppt
 
Thrashing allocation frames.43
Thrashing allocation frames.43Thrashing allocation frames.43
Thrashing allocation frames.43
 
distributed Computing system model
distributed Computing system modeldistributed Computing system model
distributed Computing system model
 
File Management in Operating Systems
File Management in Operating SystemsFile Management in Operating Systems
File Management in Operating Systems
 
operating system structure
operating system structureoperating system structure
operating system structure
 
OS Memory Management
OS Memory ManagementOS Memory Management
OS Memory Management
 
Virtual Memory
Virtual MemoryVirtual Memory
Virtual Memory
 
Deadlock
DeadlockDeadlock
Deadlock
 
Virtual memory
Virtual memoryVirtual memory
Virtual memory
 

Similar to Swapping | Computer Science

Virtual memory pre-final-formatting
Virtual memory pre-final-formattingVirtual memory pre-final-formatting
Virtual memory pre-final-formattingmarangburu42
 
Paging +Algorithem+Segmentation+memory management
Paging +Algorithem+Segmentation+memory managementPaging +Algorithem+Segmentation+memory management
Paging +Algorithem+Segmentation+memory managementkazim Hussain
 
Swap Administration in linux platform
Swap Administration in linux platformSwap Administration in linux platform
Swap Administration in linux platformashutosh123gupta
 
Memory management ppt coa
Memory management ppt coaMemory management ppt coa
Memory management ppt coaBharti Khemani
 
Memory management Assignment Help
Memory management Assignment HelpMemory management Assignment Help
Memory management Assignment HelpJosephErin
 
Virtualmemorypre final-formatting-161019022904
Virtualmemorypre final-formatting-161019022904Virtualmemorypre final-formatting-161019022904
Virtualmemorypre final-formatting-161019022904marangburu42
 
Virtualmemoryfinal 161019175858
Virtualmemoryfinal 161019175858Virtualmemoryfinal 161019175858
Virtualmemoryfinal 161019175858marangburu42
 
Virtual memoryfinal
Virtual memoryfinalVirtual memoryfinal
Virtual memoryfinalmarangburu42
 

Similar to Swapping | Computer Science (20)

Memory management
Memory managementMemory management
Memory management
 
unit5_os (1).pptx
unit5_os (1).pptxunit5_os (1).pptx
unit5_os (1).pptx
 
Virtual memory pre-final-formatting
Virtual memory pre-final-formattingVirtual memory pre-final-formatting
Virtual memory pre-final-formatting
 
Linux%20 memory%20management
Linux%20 memory%20managementLinux%20 memory%20management
Linux%20 memory%20management
 
Os unit 2
Os unit 2Os unit 2
Os unit 2
 
UNIT-2 OS.pptx
UNIT-2 OS.pptxUNIT-2 OS.pptx
UNIT-2 OS.pptx
 
Paging +Algorithem+Segmentation+memory management
Paging +Algorithem+Segmentation+memory managementPaging +Algorithem+Segmentation+memory management
Paging +Algorithem+Segmentation+memory management
 
Swap project
Swap projectSwap project
Swap project
 
Swap Administration in linux platform
Swap Administration in linux platformSwap Administration in linux platform
Swap Administration in linux platform
 
virtual memory
virtual memoryvirtual memory
virtual memory
 
Memory management ppt coa
Memory management ppt coaMemory management ppt coa
Memory management ppt coa
 
virtual memory - Computer operating system
virtual memory - Computer operating systemvirtual memory - Computer operating system
virtual memory - Computer operating system
 
Chap 4
Chap 4Chap 4
Chap 4
 
Memory comp
Memory compMemory comp
Memory comp
 
Memory management Assignment Help
Memory management Assignment HelpMemory management Assignment Help
Memory management Assignment Help
 
Virtualmemorypre final-formatting-161019022904
Virtualmemorypre final-formatting-161019022904Virtualmemorypre final-formatting-161019022904
Virtualmemorypre final-formatting-161019022904
 
VirutualMemory.docx
VirutualMemory.docxVirutualMemory.docx
VirutualMemory.docx
 
Virtualmemoryfinal 161019175858
Virtualmemoryfinal 161019175858Virtualmemoryfinal 161019175858
Virtualmemoryfinal 161019175858
 
Virtual memoryfinal
Virtual memoryfinalVirtual memoryfinal
Virtual memoryfinal
 
Opetating System Memory management
Opetating System Memory managementOpetating System Memory management
Opetating System Memory management
 

More from Transweb Global Inc

Resultant of Coplanar Parallel Forces | Mechanical Engineering
Resultant of Coplanar Parallel Forces | Mechanical EngineeringResultant of Coplanar Parallel Forces | Mechanical Engineering
Resultant of Coplanar Parallel Forces | Mechanical EngineeringTransweb Global Inc
 
The Centroidal Axis | Mechanical Engineering
The Centroidal Axis | Mechanical EngineeringThe Centroidal Axis | Mechanical Engineering
The Centroidal Axis | Mechanical EngineeringTransweb Global Inc
 
System Of Coplanar Forces | Mechanical Engineering
System Of Coplanar Forces | Mechanical EngineeringSystem Of Coplanar Forces | Mechanical Engineering
System Of Coplanar Forces | Mechanical EngineeringTransweb Global Inc
 
Resultant of Two Unlike and Unequal Parallel Forces | Mechanical Engineering
Resultant of Two Unlike and Unequal Parallel Forces | Mechanical EngineeringResultant of Two Unlike and Unequal Parallel Forces | Mechanical Engineering
Resultant of Two Unlike and Unequal Parallel Forces | Mechanical EngineeringTransweb Global Inc
 
SFD Load Diagram Examples | Mechanical Engineering
SFD Load Diagram Examples | Mechanical EngineeringSFD Load Diagram Examples | Mechanical Engineering
SFD Load Diagram Examples | Mechanical EngineeringTransweb Global Inc
 
Principle Of Transmissibility | Mechanical Engineering
Principle Of Transmissibility | Mechanical EngineeringPrinciple Of Transmissibility | Mechanical Engineering
Principle Of Transmissibility | Mechanical EngineeringTransweb Global Inc
 
Law Of Polygon | Mechanical Engineering
Law Of Polygon | Mechanical EngineeringLaw Of Polygon | Mechanical Engineering
Law Of Polygon | Mechanical EngineeringTransweb Global Inc
 
Similarities between Leadership and Management | Management
Similarities between Leadership and Management | ManagementSimilarities between Leadership and Management | Management
Similarities between Leadership and Management | ManagementTransweb Global Inc
 
Ranked Positional Weight Method | Management
Ranked Positional Weight Method | ManagementRanked Positional Weight Method | Management
Ranked Positional Weight Method | ManagementTransweb Global Inc
 
Business Intelligence And Business Analytics | Management
Business Intelligence And Business Analytics | ManagementBusiness Intelligence And Business Analytics | Management
Business Intelligence And Business Analytics | ManagementTransweb Global Inc
 
Conductance | Electrical Engineering
Conductance | Electrical EngineeringConductance | Electrical Engineering
Conductance | Electrical EngineeringTransweb Global Inc
 
Advantages and Disadvantages of Digital Electronics | Electrical Engineering
Advantages and Disadvantages of Digital Electronics | Electrical EngineeringAdvantages and Disadvantages of Digital Electronics | Electrical Engineering
Advantages and Disadvantages of Digital Electronics | Electrical EngineeringTransweb Global Inc
 
Stabilization Of Operating Point | Electrical Engineering
Stabilization Of Operating Point | Electrical EngineeringStabilization Of Operating Point | Electrical Engineering
Stabilization Of Operating Point | Electrical EngineeringTransweb Global Inc
 
Computer Architecture | Computer Science
Computer Architecture | Computer ScienceComputer Architecture | Computer Science
Computer Architecture | Computer ScienceTransweb Global Inc
 
Compilers Computer Program | Computer Science
Compilers Computer Program | Computer ScienceCompilers Computer Program | Computer Science
Compilers Computer Program | Computer ScienceTransweb Global Inc
 

More from Transweb Global Inc (20)

Resultant of Coplanar Parallel Forces | Mechanical Engineering
Resultant of Coplanar Parallel Forces | Mechanical EngineeringResultant of Coplanar Parallel Forces | Mechanical Engineering
Resultant of Coplanar Parallel Forces | Mechanical Engineering
 
The Centroidal Axis | Mechanical Engineering
The Centroidal Axis | Mechanical EngineeringThe Centroidal Axis | Mechanical Engineering
The Centroidal Axis | Mechanical Engineering
 
System Of Coplanar Forces | Mechanical Engineering
System Of Coplanar Forces | Mechanical EngineeringSystem Of Coplanar Forces | Mechanical Engineering
System Of Coplanar Forces | Mechanical Engineering
 
Resultant of Two Unlike and Unequal Parallel Forces | Mechanical Engineering
Resultant of Two Unlike and Unequal Parallel Forces | Mechanical EngineeringResultant of Two Unlike and Unequal Parallel Forces | Mechanical Engineering
Resultant of Two Unlike and Unequal Parallel Forces | Mechanical Engineering
 
SFD Load Diagram Examples | Mechanical Engineering
SFD Load Diagram Examples | Mechanical EngineeringSFD Load Diagram Examples | Mechanical Engineering
SFD Load Diagram Examples | Mechanical Engineering
 
Principle Of Transmissibility | Mechanical Engineering
Principle Of Transmissibility | Mechanical EngineeringPrinciple Of Transmissibility | Mechanical Engineering
Principle Of Transmissibility | Mechanical Engineering
 
Law Of Polygon | Mechanical Engineering
Law Of Polygon | Mechanical EngineeringLaw Of Polygon | Mechanical Engineering
Law Of Polygon | Mechanical Engineering
 
Similarities between Leadership and Management | Management
Similarities between Leadership and Management | ManagementSimilarities between Leadership and Management | Management
Similarities between Leadership and Management | Management
 
Ranked Positional Weight Method | Management
Ranked Positional Weight Method | ManagementRanked Positional Weight Method | Management
Ranked Positional Weight Method | Management
 
Business Intelligence And Business Analytics | Management
Business Intelligence And Business Analytics | ManagementBusiness Intelligence And Business Analytics | Management
Business Intelligence And Business Analytics | Management
 
ABC Cost Hierarchy | Management
ABC Cost Hierarchy | ManagementABC Cost Hierarchy | Management
ABC Cost Hierarchy | Management
 
Speed To Market | Management
Speed To Market | ManagementSpeed To Market | Management
Speed To Market | Management
 
Managerial Hubris | Finance
Managerial Hubris | FinanceManagerial Hubris | Finance
Managerial Hubris | Finance
 
Conductance | Electrical Engineering
Conductance | Electrical EngineeringConductance | Electrical Engineering
Conductance | Electrical Engineering
 
Advantages and Disadvantages of Digital Electronics | Electrical Engineering
Advantages and Disadvantages of Digital Electronics | Electrical EngineeringAdvantages and Disadvantages of Digital Electronics | Electrical Engineering
Advantages and Disadvantages of Digital Electronics | Electrical Engineering
 
Stabilization Of Operating Point | Electrical Engineering
Stabilization Of Operating Point | Electrical EngineeringStabilization Of Operating Point | Electrical Engineering
Stabilization Of Operating Point | Electrical Engineering
 
Offer Curves | Economics
Offer Curves | EconomicsOffer Curves | Economics
Offer Curves | Economics
 
Fixed Exchange Rate | Economics
Fixed Exchange Rate | EconomicsFixed Exchange Rate | Economics
Fixed Exchange Rate | Economics
 
Computer Architecture | Computer Science
Computer Architecture | Computer ScienceComputer Architecture | Computer Science
Computer Architecture | Computer Science
 
Compilers Computer Program | Computer Science
Compilers Computer Program | Computer ScienceCompilers Computer Program | Computer Science
Compilers Computer Program | Computer Science
 

Recently uploaded

Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayMakMakNepo
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxsqpmdrvczh
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........LeaCamillePacle
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 

Recently uploaded (20)

Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up Friday
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 

Swapping | Computer Science

  • 1.
  • 2. Swapping is the process of exchanging pages, segment of memory and values to another location. It occurs in three types.  A process can be swapped temporarily out of memory to a backing store, and then brought back into memory for continued execution, here backing store is the fast disk large enough to accommodate copies of all memory images for all users and must provide direct access to these memory images. The first UNIX system kernels monitored the amount of free memory constantly. When it became less than a fixed threshold, they performed some swapping out. This activity consisted of copying the entire address space of a process to disk. Conversely, when the scheduling algorithm selected a swapped – out process, the whole process was swapped in from disk.
  • 5.  Swap space in Linux is used when the amount of physical memory (RAM) is full. If the system needs more memory resources and the RAM is full, inactive pages in memory are moved to the swap space. While swap space can help machines with a small amount of RAM, it should not be considered a replacement for more RAM.  The swap cache is crucial to avoid race conditions among processes trying to access pages that are being swapped. The swap cache collects shared page frames that have been copied to swap areas. It does not exist as a data structure on its own; instead, the pages in the regular page cache are considered to be in swap cache if certain fields are set.
  • 8. This was just a summary on Swapping. For more detailed information on this topic, please type the link given below or copy it from the description of this PPT and open it in a new browser window. www.transtutors.com/homework-help/computer-science/operating-system/memory- management/swapping/