SlideShare a Scribd company logo
2
Most read
3
Most read
5
Most read
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

PPTX
Memory management ppt
PPTX
Operating system memory management
PPT
Virtual memory
PPTX
Memory Management in OS
PPTX
Paging and Segmentation in Operating System
PPT
Memory Management in OS
PPTX
Page replacement algorithms
PPS
Virtual memory
Memory management ppt
Operating system memory management
Virtual memory
Memory Management in OS
Paging and Segmentation in Operating System
Memory Management in OS
Page replacement algorithms
Virtual memory

What's hot (20)

PPT
Memory management
PPT
Virtual memory
PPT
Virtual memory
PPTX
Demand paging
PDF
operating system structure
PPTX
Chapter 10 Operating Systems silberschatz
PPTX
Virtual Memory
PPT
Chapter 9 - Virtual Memory
PPTX
Computer architecture virtual memory
PDF
Virtual memory
PPT
OPERATING SYSTEM SERVICES, OPERATING SYSTEM STRUCTURES
PPTX
Kernel. Operating System
PPTX
Auxiliary memory
PDF
8 memory management strategies
PDF
Operating Systems - memory management
PPT
Os Swapping, Paging, Segmentation and Virtual Memory
PPT
Virtual memory
PPTX
Operating system components
PPTX
Computer architecture memory system
Memory management
Virtual memory
Virtual memory
Demand paging
operating system structure
Chapter 10 Operating Systems silberschatz
Virtual Memory
Chapter 9 - Virtual Memory
Computer architecture virtual memory
Virtual memory
OPERATING SYSTEM SERVICES, OPERATING SYSTEM STRUCTURES
Kernel. Operating System
Auxiliary memory
8 memory management strategies
Operating Systems - memory management
Os Swapping, Paging, Segmentation and Virtual Memory
Virtual memory
Operating system components
Computer architecture memory system
Ad

Similar to Operating System-Memory Management (20)

PPTX
Memory virtualization
PPT
NOV11 virtual memory.ppt
PPT
virtual memory.ppt
PPTX
Os unit 2
PPTX
Memory Management in Operating Systems ppt.pptx
PDF
The life and times
PPT
Chapter 09 - Virtual Memory.ppt
PPTX
windows memory management.pptx
PPTX
Virtual Memory
PPT
Unit 5 Memory management System in OS.ppt
PPTX
Os unit 3
PPTX
Virtual memory (testing)
PPT
NOV11 virtual memory.ppt
PPTX
Unit 5 Memory management in OS Unit 5 Memory management in OS
PDF
Adobe Scan 06-Jan-2023.pdf demand paging document
PPT
Chapter 2 part 1
PPTX
Memory management
DOCX
Memory management
DOCX
virtual memory - Computer operating system
DOCX
virtual memory
Memory virtualization
NOV11 virtual memory.ppt
virtual memory.ppt
Os unit 2
Memory Management in Operating Systems ppt.pptx
The life and times
Chapter 09 - Virtual Memory.ppt
windows memory management.pptx
Virtual Memory
Unit 5 Memory management System in OS.ppt
Os unit 3
Virtual memory (testing)
NOV11 virtual memory.ppt
Unit 5 Memory management in OS Unit 5 Memory management in OS
Adobe Scan 06-Jan-2023.pdf demand paging document
Chapter 2 part 1
Memory management
Memory management
virtual memory - Computer operating system
virtual memory
Ad

More from Akmal Cikmat (10)

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

Recently uploaded (20)

PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Modernizing your data center with Dell and AMD
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Encapsulation theory and applications.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Empathic Computing: Creating Shared Understanding
Diabetes mellitus diagnosis method based random forest with bat algorithm
Modernizing your data center with Dell and AMD
Dropbox Q2 2025 Financial Results & Investor Presentation
Reach Out and Touch Someone: Haptics and Empathic Computing
Per capita expenditure prediction using model stacking based on satellite ima...
Unlocking AI with Model Context Protocol (MCP)
Review of recent advances in non-invasive hemoglobin estimation
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
“AI and Expert System Decision Support & Business Intelligence Systems”
Digital-Transformation-Roadmap-for-Companies.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
NewMind AI Weekly Chronicles - August'25 Week I
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Encapsulation theory and applications.pdf
Network Security Unit 5.pdf for BCA BBA.
MYSQL Presentation for SQL database connectivity
Mobile App Security Testing_ A Comprehensive Guide.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Empathic Computing: Creating Shared Understanding

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