SlideShare a Scribd company logo
A GLANCE ON MEMORY
MANAGEMENT SECTION
OPERATING SYSTEM
akmalcikmat
Paging
A technique used by virtual memory OS to help
ensure that the data we need is available as quickly
as possible. The operating system copies a certain
number of pages from storage device to main
memory. When a program needs a page that is not in
main memory, the operating system copies the
required page into the memory and copies another
page back to the disk.
akmalcikmat
Cont.
One says that the operating system pages the data.
Each time a page is needed that is not currently in
memory, a page fault occurs. An invalid page
fault occurs when the address of the page being
requested is invalid. In this case, the application is
usually aborted
akmalcikmat
Segmentation
Segmentation is a technique to break memory into
logical pieces where each piece represents a group of
related information. For example ,data segments or
code segment for each process, data segment for
operating system and so on. Segmentation can be
implemented using or without using paging.
Unlike paging, segment are having varying sizes and
thus eliminates internal fragmentation. External
fragmentation still exists but to lesser extent.
akmalcikmat
akmalcikmat
Fragmentation
Refers to the condition of a disk in which files are
divided into pieces scattered around the disk.
Fragmentation occurs naturally when one use a disk
frequently, creating, deleting, and modifying files. At
some point, the operating system needs to store parts
of a file in non-contiguous clusters. This is entirely
invisible to users, but it can slow down the speed at
which data is accessed because the disk drive must
search through different parts of the disk to put
together a single file.
akmalcikmat
Cont.
Fragmentation can also refer to RAM that has
small, unused holes scattered throughout it. This
is called external fragmentation.
With modern OS that use a paging scheme, a
more common type of RAM fragmentation
is internal fragmentation.
This occurs when memory is allocated in frames
and the frame size is larger than the amount of
memory requested
akmalcikmat
akmalcikmat
Virtual Memory
An imaginary memory area supported by some
OSs (for example, Windows but not DOS) in
conjunction with the hardware. One can think of
virtual memory as an alternate set of memory
addresses. Programs use these virtual
addresses rather than real addresses to store
instructions and data. When the program is
actually executed, the virtual addresses are
converted into real memory addresses.
akmalcikmat
akmalcikmat
akmalcikmat
Page Table
A page table is the data structure used by a
virtual memory system in a computer OS to store
the mapping between virtual
addresses and physical addresses.
Virtual addresses are used by the accessing
process, while physical addresses are used by
the hardware or more specifically to the RAM.
Each mapping is also known as a page table
entry (PTE)
akmalcikmat
akmalcikmat
Swapping
Swapping is a mechanism in which a process can
be swapped temporarily out of main memory to a
backing store, and then brought back into
memory for continued execution.
Backing store is a usually a hard disk drive or
any other secondary storage which fast in access
and large enough to accommodate copies of all
memory images for all users. It must be capable
of providing direct access to these memory
images
akmalcikmat
Cont.
akmalcikmat

More Related Content

What's hot

Operating system memory management
Operating system memory managementOperating system memory management
Operating system memory management
rprajat007
 
Allocation of Frames & Thrashing
Allocation of Frames & ThrashingAllocation of Frames & Thrashing
Allocation of Frames & Thrashing
arifmollick8578
 
Virtual memory
Virtual memoryVirtual memory
Virtual memory
Muhammad Farooq
 
Demand paging
Demand pagingDemand paging
Demand paging
Trinity Dwarka
 
Thrashing allocation frames.43
Thrashing allocation frames.43Thrashing allocation frames.43
Thrashing allocation frames.43myrajendra
 
Memory management
Memory managementMemory management
Memory management
cpjcollege
 
Memory Management in OS
Memory Management in OSMemory Management in OS
Memory Management in OS
vampugani
 
Operating system Memory management
Operating system Memory management Operating system Memory management
Operating system Memory management
Shashank Asthana
 
Computer architecture virtual memory
Computer architecture virtual memoryComputer architecture virtual memory
Computer architecture virtual memory
Mazin Alwaaly
 
Paging and Segmentation in Operating System
Paging and Segmentation in Operating SystemPaging and Segmentation in Operating System
Paging and Segmentation in Operating System
Raj Mohan
 
Cache memory ppt
Cache memory ppt  Cache memory ppt
Cache memory ppt
Arpita Naik
 
Chapter 8 - Main Memory
Chapter 8 - Main MemoryChapter 8 - Main Memory
Chapter 8 - Main Memory
Wayne Jones Jnr
 
Paging and Segmentation
Paging and SegmentationPaging and Segmentation
Paging and Segmentation
Madhur Gupta
 
Operating systems system structures
Operating systems   system structuresOperating systems   system structures
Operating systems system structures
Mukesh Chinta
 
Process scheduling
Process schedulingProcess scheduling
Process scheduling
Riya Choudhary
 
Operating system concepts (notes)
Operating system concepts (notes)Operating system concepts (notes)
Operating system concepts (notes)Sohaib Danish
 
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
sgpraju
 

What's hot (20)

Operating system memory management
Operating system memory managementOperating system memory management
Operating system memory management
 
Paging and segmentation
Paging and segmentationPaging and segmentation
Paging and segmentation
 
Allocation of Frames & Thrashing
Allocation of Frames & ThrashingAllocation of Frames & Thrashing
Allocation of Frames & Thrashing
 
Virtual memory
Virtual memoryVirtual memory
Virtual memory
 
Demand paging
Demand pagingDemand paging
Demand paging
 
Thrashing allocation frames.43
Thrashing allocation frames.43Thrashing allocation frames.43
Thrashing allocation frames.43
 
Memory management
Memory managementMemory management
Memory management
 
Memory Management in OS
Memory Management in OSMemory Management in OS
Memory Management in OS
 
Operating system Memory management
Operating system Memory management Operating system Memory management
Operating system Memory management
 
Virtual memory
Virtual memoryVirtual memory
Virtual memory
 
Computer architecture virtual memory
Computer architecture virtual memoryComputer architecture virtual memory
Computer architecture virtual memory
 
Memory management
Memory managementMemory management
Memory management
 
Paging and Segmentation in Operating System
Paging and Segmentation in Operating SystemPaging and Segmentation in Operating System
Paging and Segmentation in Operating System
 
Cache memory ppt
Cache memory ppt  Cache memory ppt
Cache memory ppt
 
Chapter 8 - Main Memory
Chapter 8 - Main MemoryChapter 8 - Main Memory
Chapter 8 - Main Memory
 
Paging and Segmentation
Paging and SegmentationPaging and Segmentation
Paging and Segmentation
 
Operating systems system structures
Operating systems   system structuresOperating systems   system structures
Operating systems system structures
 
Process scheduling
Process schedulingProcess scheduling
Process scheduling
 
Operating system concepts (notes)
Operating system concepts (notes)Operating system concepts (notes)
Operating system concepts (notes)
 
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
 

Similar to Operating System-Memory Management

virtual memory
virtual memoryvirtual memory
virtual memory
Abeer Naskar
 
Virtual Memory
Virtual MemoryVirtual Memory
Virtual Memory
Archith777
 
Paging +Algorithem+Segmentation+memory management
Paging +Algorithem+Segmentation+memory managementPaging +Algorithem+Segmentation+memory management
Paging +Algorithem+Segmentation+memory management
kazim Hussain
 
unit5_os (1).pptx
unit5_os (1).pptxunit5_os (1).pptx
unit5_os (1).pptx
PriyankaJadhav218236
 
Chapter 09 - Virtual Memory.ppt
Chapter 09 - Virtual Memory.pptChapter 09 - Virtual Memory.ppt
Chapter 09 - Virtual Memory.ppt
MonirJihad1
 
NOV11 virtual memory.ppt
NOV11 virtual memory.pptNOV11 virtual memory.ppt
NOV11 virtual memory.ppt
AshokRachapalli1
 
NOV11 virtual memory.ppt
NOV11 virtual memory.pptNOV11 virtual memory.ppt
NOV11 virtual memory.ppt
PratikBose10
 
virtual memory - Computer operating system
virtual memory - Computer operating systemvirtual memory - Computer operating system
virtual memory - Computer operating system
Electronics - Embedded System
 
virtual memory.ppt
virtual memory.pptvirtual memory.ppt
virtual memory.ppt
suryansh85
 
Abhaycavirtual memory and the pagehit.pptx
Abhaycavirtual memory and the pagehit.pptxAbhaycavirtual memory and the pagehit.pptx
Abhaycavirtual memory and the pagehit.pptx
wemoji5816
 
Os unit 2
Os unit 2Os unit 2
Os unit 2
Arnav Chowdhury
 
Virtual Memory vs Cache Memory
Virtual Memory vs Cache MemoryVirtual Memory vs Cache Memory
Virtual Memory vs Cache MemoryAshik Iqbal
 
Virtual Memory
Virtual MemoryVirtual Memory
Virtual Memory
ayrus ranos
 
windows memory management.pptx
windows memory management.pptxwindows memory management.pptx
windows memory management.pptx
GevitaChinnaiah
 
Power Point Presentation on Virtual Memory.ppt
Power Point Presentation on Virtual Memory.pptPower Point Presentation on Virtual Memory.ppt
Power Point Presentation on Virtual Memory.ppt
RahulRaj395610
 
Memory Hierarchy
Memory HierarchyMemory Hierarchy
Memory Hierarchy
SURBHI SAROHA
 
Memory management
Memory managementMemory management
Memory management
lodhran-hayat
 
Memory management ppt coa
Memory management ppt coaMemory management ppt coa
Memory management ppt coa
Bharti Khemani
 
Virtualmemoryfinal 161019175858
Virtualmemoryfinal 161019175858Virtualmemoryfinal 161019175858
Virtualmemoryfinal 161019175858
marangburu42
 

Similar to Operating System-Memory Management (20)

Memory virtualization
Memory virtualizationMemory virtualization
Memory virtualization
 
virtual memory
virtual memoryvirtual memory
virtual memory
 
Virtual Memory
Virtual MemoryVirtual Memory
Virtual Memory
 
Paging +Algorithem+Segmentation+memory management
Paging +Algorithem+Segmentation+memory managementPaging +Algorithem+Segmentation+memory management
Paging +Algorithem+Segmentation+memory management
 
unit5_os (1).pptx
unit5_os (1).pptxunit5_os (1).pptx
unit5_os (1).pptx
 
Chapter 09 - Virtual Memory.ppt
Chapter 09 - Virtual Memory.pptChapter 09 - Virtual Memory.ppt
Chapter 09 - Virtual Memory.ppt
 
NOV11 virtual memory.ppt
NOV11 virtual memory.pptNOV11 virtual memory.ppt
NOV11 virtual memory.ppt
 
NOV11 virtual memory.ppt
NOV11 virtual memory.pptNOV11 virtual memory.ppt
NOV11 virtual memory.ppt
 
virtual memory - Computer operating system
virtual memory - Computer operating systemvirtual memory - Computer operating system
virtual memory - Computer operating system
 
virtual memory.ppt
virtual memory.pptvirtual memory.ppt
virtual memory.ppt
 
Abhaycavirtual memory and the pagehit.pptx
Abhaycavirtual memory and the pagehit.pptxAbhaycavirtual memory and the pagehit.pptx
Abhaycavirtual memory and the pagehit.pptx
 
Os unit 2
Os unit 2Os unit 2
Os unit 2
 
Virtual Memory vs Cache Memory
Virtual Memory vs Cache MemoryVirtual Memory vs Cache Memory
Virtual Memory vs Cache Memory
 
Virtual Memory
Virtual MemoryVirtual Memory
Virtual Memory
 
windows memory management.pptx
windows memory management.pptxwindows memory management.pptx
windows memory management.pptx
 
Power Point Presentation on Virtual Memory.ppt
Power Point Presentation on Virtual Memory.pptPower Point Presentation on Virtual Memory.ppt
Power Point Presentation on Virtual Memory.ppt
 
Memory Hierarchy
Memory HierarchyMemory Hierarchy
Memory Hierarchy
 
Memory management
Memory managementMemory management
Memory management
 
Memory management ppt coa
Memory management ppt coaMemory management ppt coa
Memory management ppt coa
 
Virtualmemoryfinal 161019175858
Virtualmemoryfinal 161019175858Virtualmemoryfinal 161019175858
Virtualmemoryfinal 161019175858
 

More from Akmal Cikmat

Reflective Case Study - OBSERVATION ON THE 2019 NOVEL CORONAVIRUS PANDEMIC (C...
Reflective Case Study - OBSERVATION ON THE 2019 NOVEL CORONAVIRUS PANDEMIC (C...Reflective Case Study - OBSERVATION ON THE 2019 NOVEL CORONAVIRUS PANDEMIC (C...
Reflective Case Study - OBSERVATION ON THE 2019 NOVEL CORONAVIRUS PANDEMIC (C...
Akmal Cikmat
 
Air Asia- Geographic Organizational Structure
Air Asia- Geographic Organizational StructureAir Asia- Geographic Organizational Structure
Air Asia- Geographic Organizational Structure
Akmal Cikmat
 
Book Report : The Prisoner Of Zenda
Book Report : The Prisoner Of ZendaBook Report : The Prisoner Of Zenda
Book Report : The Prisoner Of Zenda
Akmal Cikmat
 
difference between hub, bridge, switch and router
difference between hub, bridge, switch and routerdifference between hub, bridge, switch and router
difference between hub, bridge, switch and router
Akmal Cikmat
 
Mitch Albom's For One More Day Book Report
Mitch Albom's For One More Day Book ReportMitch Albom's For One More Day Book Report
Mitch Albom's For One More Day Book Report
Akmal Cikmat
 
Pendidikan Dalam Islam pt ii
Pendidikan Dalam Islam pt iiPendidikan Dalam Islam pt ii
Pendidikan Dalam Islam pt ii
Akmal Cikmat
 
Pendidikan Dalam Islam
Pendidikan Dalam IslamPendidikan Dalam Islam
Pendidikan Dalam Islam
Akmal Cikmat
 
AS Level Physics' Radioactivity Presentation
AS Level Physics' Radioactivity PresentationAS Level Physics' Radioactivity Presentation
AS Level Physics' Radioactivity Presentation
Akmal Cikmat
 
Sumber ilmu & penerima ilmu
Sumber ilmu & penerima ilmuSumber ilmu & penerima ilmu
Sumber ilmu & penerima ilmu
Akmal Cikmat
 
Malaysian Studies -destinasi pelancongan di Malaysia
Malaysian Studies -destinasi pelancongan di MalaysiaMalaysian Studies -destinasi pelancongan di Malaysia
Malaysian Studies -destinasi pelancongan di Malaysia
Akmal Cikmat
 

More from Akmal Cikmat (10)

Reflective Case Study - OBSERVATION ON THE 2019 NOVEL CORONAVIRUS PANDEMIC (C...
Reflective Case Study - OBSERVATION ON THE 2019 NOVEL CORONAVIRUS PANDEMIC (C...Reflective Case Study - OBSERVATION ON THE 2019 NOVEL CORONAVIRUS PANDEMIC (C...
Reflective Case Study - OBSERVATION ON THE 2019 NOVEL CORONAVIRUS PANDEMIC (C...
 
Air Asia- Geographic Organizational Structure
Air Asia- Geographic Organizational StructureAir Asia- Geographic Organizational Structure
Air Asia- Geographic Organizational Structure
 
Book Report : The Prisoner Of Zenda
Book Report : The Prisoner Of ZendaBook Report : The Prisoner Of Zenda
Book Report : The Prisoner Of Zenda
 
difference between hub, bridge, switch and router
difference between hub, bridge, switch and routerdifference between hub, bridge, switch and router
difference between hub, bridge, switch and router
 
Mitch Albom's For One More Day Book Report
Mitch Albom's For One More Day Book ReportMitch Albom's For One More Day Book Report
Mitch Albom's For One More Day Book Report
 
Pendidikan Dalam Islam pt ii
Pendidikan Dalam Islam pt iiPendidikan Dalam Islam pt ii
Pendidikan Dalam Islam pt ii
 
Pendidikan Dalam Islam
Pendidikan Dalam IslamPendidikan Dalam Islam
Pendidikan Dalam Islam
 
AS Level Physics' Radioactivity Presentation
AS Level Physics' Radioactivity PresentationAS Level Physics' Radioactivity Presentation
AS Level Physics' Radioactivity Presentation
 
Sumber ilmu & penerima ilmu
Sumber ilmu & penerima ilmuSumber ilmu & penerima ilmu
Sumber ilmu & penerima ilmu
 
Malaysian Studies -destinasi pelancongan di Malaysia
Malaysian Studies -destinasi pelancongan di MalaysiaMalaysian Studies -destinasi pelancongan di Malaysia
Malaysian Studies -destinasi pelancongan di Malaysia
 

Recently uploaded

Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 

Recently uploaded (20)

Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 

Operating System-Memory Management

  • 1. A GLANCE ON MEMORY MANAGEMENT SECTION OPERATING SYSTEM akmalcikmat
  • 2. Paging A technique used by virtual memory OS to help ensure that the data we need is available as quickly as possible. The operating system copies a certain number of pages from storage device to main memory. When a program needs a page that is not in main memory, the operating system copies the required page into the memory and copies another page back to the disk. akmalcikmat
  • 3. Cont. One says that the operating system pages the data. Each time a page is needed that is not currently in memory, a page fault occurs. An invalid page fault occurs when the address of the page being requested is invalid. In this case, the application is usually aborted akmalcikmat
  • 4. Segmentation Segmentation is a technique to break memory into logical pieces where each piece represents a group of related information. For example ,data segments or code segment for each process, data segment for operating system and so on. Segmentation can be implemented using or without using paging. Unlike paging, segment are having varying sizes and thus eliminates internal fragmentation. External fragmentation still exists but to lesser extent. akmalcikmat
  • 6. Fragmentation Refers to the condition of a disk in which files are divided into pieces scattered around the disk. Fragmentation occurs naturally when one use a disk frequently, creating, deleting, and modifying files. At some point, the operating system needs to store parts of a file in non-contiguous clusters. This is entirely invisible to users, but it can slow down the speed at which data is accessed because the disk drive must search through different parts of the disk to put together a single file. akmalcikmat
  • 7. Cont. Fragmentation can also refer to RAM that has small, unused holes scattered throughout it. This is called external fragmentation. With modern OS that use a paging scheme, a more common type of RAM fragmentation is internal fragmentation. This occurs when memory is allocated in frames and the frame size is larger than the amount of memory requested akmalcikmat
  • 9. Virtual Memory An imaginary memory area supported by some OSs (for example, Windows but not DOS) in conjunction with the hardware. One can think of virtual memory as an alternate set of memory addresses. Programs use these virtual addresses rather than real addresses to store instructions and data. When the program is actually executed, the virtual addresses are converted into real memory addresses. akmalcikmat
  • 12. Page Table A page table is the data structure used by a virtual memory system in a computer OS to store the mapping between virtual addresses and physical addresses. Virtual addresses are used by the accessing process, while physical addresses are used by the hardware or more specifically to the RAM. Each mapping is also known as a page table entry (PTE) akmalcikmat
  • 14. Swapping Swapping is a mechanism in which a process can be swapped temporarily out of main memory to a backing store, and then brought back into memory for continued execution. Backing store is a usually a hard disk drive or any other secondary storage which fast in access and large enough to accommodate copies of all memory images for all users. It must be capable of providing direct access to these memory images akmalcikmat