SlideShare a Scribd company logo
STORAGE MANAGEMENT
IN THIS POWERPOINT I AM GONNA TELL YOU, HOW MEMORY PLAYS A
CENTRAL ROLE IN A COMPUTER SYSTEM?
ILTWATS INDIA WORK 1
FLOW OF MEMORY!!!
• In a working of a modern systems memory plays a central role,
as shown in a flow chart:-
• Both CPU and I/O system interacts with memory.
CPU Memory
I/O
System
ILTWATS INDIA WORK 2
WHAT IS MEMORY?
• Memory is a large array of words or bytes, each with its own
address.
• The CPU reads from and writes to specific memory address.
ILTWATS INDIA WORK 3
MEMORY EXECUTION
• For execution a program must be assigned some memory area
and loaded into memory in order to be executed.
• As the program executes, it accesses program instructions and
data from memory by generating addresses of the allocated
memory.
• When the program terminates, its memory space is declared
free, and the next program may be given the same memory
area.
• Now, there can be many user programs loaded in the memory
along with system programs and operating system.
ILTWATS INDIA WORK 4
THEN, HOW IS MEMORY MANAGED IN SUCH
A SITUATION?
Different approach to a memory allocation and its management
are with its relative effectiveness:-
1. Contiguous Storage Allocation.
2. Non Contiguous Storage Allocation.
3. Virtual Storage using Paging.
4. Virtual Storage using Segmentation.
ILTWATS INDIA WORK 5
1.CONTIGUOUS STORAGE ALLOCATION.
• Each problem, which is to be executed ,is allocated a
contiguous storage memory.
• Each job step is considered as a single independent entity for
allocation of a contiguous storage area.
• At every job step initiation, the OS has to ensure that sufficient
contiguous area is available to accommodate it.
ILTWATS INDIA WORK 6
• logical Physical
• address address
CPU
Yes
/N
o
Limit
register
+
Relocation
Register
Memor
y
ILTWATS INDIA WORK 7
2.NON CONTIGUOUS STORAGE
ALLOCATION.
• A program can be stored in non contiguous memory areas.
• Here, a program is divided into smaller components of equal sizes.
One of more components can be stored in the non contiguous
memory areas.
• Each component in the particular memory area is provided addresses
0,1,2..n.
• Now a program can be stored at non contiguous locations, but what
if we use all available free memory is still the program can not be
loaded into the main storage because the total free memory is still
less than the size of the program.
ILTWATS INDIA WORK 8
NOW THE PROBLEM MENTIONED IN LAST POINT ,
HOW TO OVERCOME THAT PROBLEM?
• To solve such a problem we require a technique with which a
program can still be executed even if all of its is not loaded in a
memory.
• Solution is . They are of 2 types namely:
• Program Paging
• Program Segmentation
ILTWATS INDIA WORK 9
• Divide physical memory into fixed-sized (power of 2) blocks called
frames.
• Divide logical memory into blocks of same size called pages.
• Keep track of all free frames.
• To run a program of size n pages, need to find n free frames and load
program.
• Page table : used to translate logical to physical addresses.
ILTWATS INDIA WORK 10
• Now when a required page is not in the main storage an interrupt is
known as missing page interrupt, is raised.
• This fault is commonly called as page fault.
• The OS takes action by bringing required page from the secondary
storage into an empty page block, this is called demand paging or
page in.
• After page in page table is modified and new physical address is
stored in it and execution resumes.
• In some cases now storage is left then storage block is vacated by
process page out.
• This reading and writing of pages determines page traffic.If page
traffic is too much situation is called thrashing.
ILTWATS INDIA WORK 11
• Memory-management scheme that supports user view of memory.
• A program is a collection of segments. A segment can be any logical unit
eg: code, global variables, heap, stack,...
• Segment sizes may be different
• Segmentation Architecture:-
• Segment table– maps two-dimensional physical addresses; each table entry
has:
1.base – contains the starting physical address where the segments
reside in memory.
2.limit – specifies the length of the segment.
• Segment-table base register (STBR)-points to the segment table’s location in
memory.
• Segment-table length register (STLR)-indicates number of segments used by
ILTWATS INDIA WORK 12
• In the same way as of paging, segment in the memory are processed
and if a segment is not available in the memory segment missing
fault is raised.
• To increase the efficiency of a system sometimes paging and
segmentation is combined. A large segmentation is broken into
pages and is stored in contiguous area.
• Now within the pages `swapping’ is possible as it improves the
efficiency of system as access of pages within the segment is
fastened up.
• Thus the address now contains the segment id, page number within
the segment and the word in a page.
• OS like IBM 360/67 and MULTICS use this very technique
segmentation with paging.
ILTWATS INDIA WORK 13
THANK YOU
A Presentation By- ATUL SHARMA
ILTWATS INDIA WORK 14

More Related Content

What's hot

directory structure and file system mounting
directory structure and file system mountingdirectory structure and file system mounting
directory structure and file system mounting
rajshreemuthiah
 
Distributed & parallel system
Distributed & parallel systemDistributed & parallel system
Distributed & parallel systemManish Singh
 
File Management in Operating Systems
File Management in Operating SystemsFile Management in Operating Systems
File Management in Operating Systems
vampugani
 
Segmentation in operating systems
Segmentation in operating systemsSegmentation in operating systems
Segmentation in operating systems
Dr. Jasmine Beulah Gnanadurai
 
Chapter 11 - File System Implementation
Chapter 11 - File System ImplementationChapter 11 - File System Implementation
Chapter 11 - File System Implementation
Wayne Jones Jnr
 
File system structure
File system structureFile system structure
File system structure
sangrampatil81
 
Segmentation in Operating Systems.
Segmentation in Operating Systems.Segmentation in Operating Systems.
Segmentation in Operating Systems.
Muhammad SiRaj Munir
 
Distributed file system
Distributed file systemDistributed file system
Distributed file system
Anamika Singh
 
Methods for handling deadlock
Methods for handling deadlockMethods for handling deadlock
Methods for handling deadlock
sangrampatil81
 
Disk management
Disk managementDisk management
Disk management
Agnas Jasmine
 
RAID LEVELS
RAID LEVELSRAID LEVELS
RAID LEVELS
Uzair Khan
 
Chapter 8 - Main Memory
Chapter 8 - Main MemoryChapter 8 - Main Memory
Chapter 8 - Main Memory
Wayne Jones Jnr
 
Process management in os
Process management in osProcess management in os
Process management in os
Miong Lazaro
 
Virtual memory - Demand Paging
Virtual memory - Demand PagingVirtual memory - Demand Paging
Virtual memory - Demand Paging
jeyaperumal
 
Library management system
Library management systemLibrary management system
Library management system
Paresh Gosavi
 
System protection in Operating System
System protection in Operating SystemSystem protection in Operating System
System protection in Operating System
sohaildanish
 
File system
File systemFile system
File system
Harleen Johal
 
Distributed DBMS - Unit 6 - Query Processing
Distributed DBMS - Unit 6 - Query ProcessingDistributed DBMS - Unit 6 - Query Processing
Distributed DBMS - Unit 6 - Query Processing
Gyanmanjari Institute Of Technology
 

What's hot (20)

Paging and segmentation
Paging and segmentationPaging and segmentation
Paging and segmentation
 
directory structure and file system mounting
directory structure and file system mountingdirectory structure and file system mounting
directory structure and file system mounting
 
Distributed & parallel system
Distributed & parallel systemDistributed & parallel system
Distributed & parallel system
 
File Management in Operating Systems
File Management in Operating SystemsFile Management in Operating Systems
File Management in Operating Systems
 
Segmentation in operating systems
Segmentation in operating systemsSegmentation in operating systems
Segmentation in operating systems
 
operating system structure
operating system structureoperating system structure
operating system structure
 
Chapter 11 - File System Implementation
Chapter 11 - File System ImplementationChapter 11 - File System Implementation
Chapter 11 - File System Implementation
 
File system structure
File system structureFile system structure
File system structure
 
Segmentation in Operating Systems.
Segmentation in Operating Systems.Segmentation in Operating Systems.
Segmentation in Operating Systems.
 
Distributed file system
Distributed file systemDistributed file system
Distributed file system
 
Methods for handling deadlock
Methods for handling deadlockMethods for handling deadlock
Methods for handling deadlock
 
Disk management
Disk managementDisk management
Disk management
 
RAID LEVELS
RAID LEVELSRAID LEVELS
RAID LEVELS
 
Chapter 8 - Main Memory
Chapter 8 - Main MemoryChapter 8 - Main Memory
Chapter 8 - Main Memory
 
Process management in os
Process management in osProcess management in os
Process management in os
 
Virtual memory - Demand Paging
Virtual memory - Demand PagingVirtual memory - Demand Paging
Virtual memory - Demand Paging
 
Library management system
Library management systemLibrary management system
Library management system
 
System protection in Operating System
System protection in Operating SystemSystem protection in Operating System
System protection in Operating System
 
File system
File systemFile system
File system
 
Distributed DBMS - Unit 6 - Query Processing
Distributed DBMS - Unit 6 - Query ProcessingDistributed DBMS - Unit 6 - Query Processing
Distributed DBMS - Unit 6 - Query Processing
 

Viewers also liked

Computer memory management
Computer memory managementComputer memory management
Computer memory managementKumar
 
Memory Management | Computer Science
Memory Management | Computer ScienceMemory Management | Computer Science
Memory Management | Computer Science
Transweb Global Inc
 
Ch02 early system memory management
Ch02 early system  memory managementCh02 early system  memory management
Ch02 early system memory management
Jacob Cadeliña
 
computer memory ,., .
computer memory ,., .computer memory ,., .
computer memory ,., .
santokh00700
 
Operating system memory management
Operating system memory managementOperating system memory management
Operating system memory management
rprajat007
 
COMPUTER MEMORY
COMPUTER MEMORYCOMPUTER MEMORY
COMPUTER MEMORY
Elisha Kharel
 
Operating System (Scheduling, Input and Output Management, Memory Management,...
Operating System (Scheduling, Input and Output Management, Memory Management,...Operating System (Scheduling, Input and Output Management, Memory Management,...
Operating System (Scheduling, Input and Output Management, Memory Management,...
Project Student
 
Operating Systems and Memory Management
Operating Systems and Memory ManagementOperating Systems and Memory Management
Operating Systems and Memory Management
guest1415ae65
 
COMPUTER MEMORY : TYPES & FUNCTIONS
COMPUTER MEMORY : TYPES & FUNCTIONSCOMPUTER MEMORY : TYPES & FUNCTIONS
COMPUTER MEMORY : TYPES & FUNCTIONS
Angel Mary George
 

Viewers also liked (12)

Computer memory management
Computer memory managementComputer memory management
Computer memory management
 
Memory Management | Computer Science
Memory Management | Computer ScienceMemory Management | Computer Science
Memory Management | Computer Science
 
Ch02 early system memory management
Ch02 early system  memory managementCh02 early system  memory management
Ch02 early system memory management
 
computer memory ,., .
computer memory ,., .computer memory ,., .
computer memory ,., .
 
Operating system memory management
Operating system memory managementOperating system memory management
Operating system memory management
 
COMPUTER MEMORY
COMPUTER MEMORYCOMPUTER MEMORY
COMPUTER MEMORY
 
Operating System (Scheduling, Input and Output Management, Memory Management,...
Operating System (Scheduling, Input and Output Management, Memory Management,...Operating System (Scheduling, Input and Output Management, Memory Management,...
Operating System (Scheduling, Input and Output Management, Memory Management,...
 
Operating Systems and Memory Management
Operating Systems and Memory ManagementOperating Systems and Memory Management
Operating Systems and Memory Management
 
Ch1
Ch1Ch1
Ch1
 
COMPUTER MEMORY : TYPES & FUNCTIONS
COMPUTER MEMORY : TYPES & FUNCTIONSCOMPUTER MEMORY : TYPES & FUNCTIONS
COMPUTER MEMORY : TYPES & FUNCTIONS
 
Computer memory
Computer memoryComputer memory
Computer memory
 
Memory management
Memory managementMemory management
Memory management
 

Similar to Storage management

UNIT 3-EXPLAINING THE MEMORY MANAGEMENT LOGICAL AND AND PHYSICAL DATA FLOW DI...
UNIT 3-EXPLAINING THE MEMORY MANAGEMENT LOGICAL AND AND PHYSICAL DATA FLOW DI...UNIT 3-EXPLAINING THE MEMORY MANAGEMENT LOGICAL AND AND PHYSICAL DATA FLOW DI...
UNIT 3-EXPLAINING THE MEMORY MANAGEMENT LOGICAL AND AND PHYSICAL DATA FLOW DI...
LeahRachael
 
UNIT-2 OS.pptx
UNIT-2 OS.pptxUNIT-2 OS.pptx
UNIT-2 OS.pptx
ssusera387fd1
 
Chapter 2 part 1
Chapter 2 part 1Chapter 2 part 1
Chapter 2 part 1rohassanie
 
memory managment on computer science.ppt
memory managment on computer science.pptmemory managment on computer science.ppt
memory managment on computer science.ppt
footydigarse
 
Memory Management
Memory ManagementMemory Management
Memory Management
lavanya marichamy
 
CSI-503 - 6. Memory Management
CSI-503 - 6. Memory Management CSI-503 - 6. Memory Management
CSI-503 - 6. Memory Management
ghayour abbas
 
Memory management
Memory managementMemory management
Memory management
PATELARCH
 
Memory Management in OS
Memory Management in OSMemory Management in OS
Memory Management in OS
Kumar Pritam
 
Paging +Algorithem+Segmentation+memory management
Paging +Algorithem+Segmentation+memory managementPaging +Algorithem+Segmentation+memory management
Paging +Algorithem+Segmentation+memory management
kazim Hussain
 
M20CA1030_391_2_Part2.pptx
M20CA1030_391_2_Part2.pptxM20CA1030_391_2_Part2.pptx
M20CA1030_391_2_Part2.pptx
HarikishnaKNHk
 
chapter 2 memory and process management
chapter 2 memory and process managementchapter 2 memory and process management
chapter 2 memory and process management
Aisyah Rafiuddin
 
Opetating System Memory management
Opetating System Memory managementOpetating System Memory management
Opetating System Memory management
Johan Granados Montero
 
MEMORY MANAGEMENT FHES har ar mahaadev.pptx
MEMORY MANAGEMENT FHES har ar mahaadev.pptxMEMORY MANAGEMENT FHES har ar mahaadev.pptx
MEMORY MANAGEMENT FHES har ar mahaadev.pptx
22bec032
 
Chapter07_ds.ppt
Chapter07_ds.pptChapter07_ds.ppt
Chapter07_ds.ppt
AvadhRakholiya3
 
Module 4 memory management
Module 4 memory managementModule 4 memory management
Module 4 memory management
Sweta Kumari Barnwal
 
Memory Management
Memory ManagementMemory Management
Memory Management
SanthiNivas
 
Os unit 3
Os unit 3Os unit 3
Os unit 3
SandhyaTatekalva
 
Memory management ppt
Memory management pptMemory management ppt
Memory management ppt
ManishaJha43
 
Memory concept and managementChapter 3.pptx
Memory concept and managementChapter 3.pptxMemory concept and managementChapter 3.pptx
Memory concept and managementChapter 3.pptx
natyesu
 

Similar to Storage management (20)

UNIT 3-EXPLAINING THE MEMORY MANAGEMENT LOGICAL AND AND PHYSICAL DATA FLOW DI...
UNIT 3-EXPLAINING THE MEMORY MANAGEMENT LOGICAL AND AND PHYSICAL DATA FLOW DI...UNIT 3-EXPLAINING THE MEMORY MANAGEMENT LOGICAL AND AND PHYSICAL DATA FLOW DI...
UNIT 3-EXPLAINING THE MEMORY MANAGEMENT LOGICAL AND AND PHYSICAL DATA FLOW DI...
 
UNIT-2 OS.pptx
UNIT-2 OS.pptxUNIT-2 OS.pptx
UNIT-2 OS.pptx
 
Chapter 2 part 1
Chapter 2 part 1Chapter 2 part 1
Chapter 2 part 1
 
memory managment on computer science.ppt
memory managment on computer science.pptmemory managment on computer science.ppt
memory managment on computer science.ppt
 
Memory Management
Memory ManagementMemory Management
Memory Management
 
CSI-503 - 6. Memory Management
CSI-503 - 6. Memory Management CSI-503 - 6. Memory Management
CSI-503 - 6. Memory Management
 
Ch4 memory management
Ch4 memory managementCh4 memory management
Ch4 memory management
 
Memory management
Memory managementMemory management
Memory management
 
Memory Management in OS
Memory Management in OSMemory Management in OS
Memory Management in OS
 
Paging +Algorithem+Segmentation+memory management
Paging +Algorithem+Segmentation+memory managementPaging +Algorithem+Segmentation+memory management
Paging +Algorithem+Segmentation+memory management
 
M20CA1030_391_2_Part2.pptx
M20CA1030_391_2_Part2.pptxM20CA1030_391_2_Part2.pptx
M20CA1030_391_2_Part2.pptx
 
chapter 2 memory and process management
chapter 2 memory and process managementchapter 2 memory and process management
chapter 2 memory and process management
 
Opetating System Memory management
Opetating System Memory managementOpetating System Memory management
Opetating System Memory management
 
MEMORY MANAGEMENT FHES har ar mahaadev.pptx
MEMORY MANAGEMENT FHES har ar mahaadev.pptxMEMORY MANAGEMENT FHES har ar mahaadev.pptx
MEMORY MANAGEMENT FHES har ar mahaadev.pptx
 
Chapter07_ds.ppt
Chapter07_ds.pptChapter07_ds.ppt
Chapter07_ds.ppt
 
Module 4 memory management
Module 4 memory managementModule 4 memory management
Module 4 memory management
 
Memory Management
Memory ManagementMemory Management
Memory Management
 
Os unit 3
Os unit 3Os unit 3
Os unit 3
 
Memory management ppt
Memory management pptMemory management ppt
Memory management ppt
 
Memory concept and managementChapter 3.pptx
Memory concept and managementChapter 3.pptxMemory concept and managementChapter 3.pptx
Memory concept and managementChapter 3.pptx
 

Recently uploaded

Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Globus
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Shahin Sheidaei
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
Google
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
 
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
ShamsuddeenMuhammadA
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
informapgpstrackings
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
Neo4j
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
Globus
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
Philip Schwarz
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Globus
 
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi ArabiaTop 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Yara Milbes
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
AMB-Review
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
Globus
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
Globus
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 

Recently uploaded (20)

Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
 
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
 
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi ArabiaTop 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 

Storage management

  • 1. STORAGE MANAGEMENT IN THIS POWERPOINT I AM GONNA TELL YOU, HOW MEMORY PLAYS A CENTRAL ROLE IN A COMPUTER SYSTEM? ILTWATS INDIA WORK 1
  • 2. FLOW OF MEMORY!!! • In a working of a modern systems memory plays a central role, as shown in a flow chart:- • Both CPU and I/O system interacts with memory. CPU Memory I/O System ILTWATS INDIA WORK 2
  • 3. WHAT IS MEMORY? • Memory is a large array of words or bytes, each with its own address. • The CPU reads from and writes to specific memory address. ILTWATS INDIA WORK 3
  • 4. MEMORY EXECUTION • For execution a program must be assigned some memory area and loaded into memory in order to be executed. • As the program executes, it accesses program instructions and data from memory by generating addresses of the allocated memory. • When the program terminates, its memory space is declared free, and the next program may be given the same memory area. • Now, there can be many user programs loaded in the memory along with system programs and operating system. ILTWATS INDIA WORK 4
  • 5. THEN, HOW IS MEMORY MANAGED IN SUCH A SITUATION? Different approach to a memory allocation and its management are with its relative effectiveness:- 1. Contiguous Storage Allocation. 2. Non Contiguous Storage Allocation. 3. Virtual Storage using Paging. 4. Virtual Storage using Segmentation. ILTWATS INDIA WORK 5
  • 6. 1.CONTIGUOUS STORAGE ALLOCATION. • Each problem, which is to be executed ,is allocated a contiguous storage memory. • Each job step is considered as a single independent entity for allocation of a contiguous storage area. • At every job step initiation, the OS has to ensure that sufficient contiguous area is available to accommodate it. ILTWATS INDIA WORK 6
  • 7. • logical Physical • address address CPU Yes /N o Limit register + Relocation Register Memor y ILTWATS INDIA WORK 7
  • 8. 2.NON CONTIGUOUS STORAGE ALLOCATION. • A program can be stored in non contiguous memory areas. • Here, a program is divided into smaller components of equal sizes. One of more components can be stored in the non contiguous memory areas. • Each component in the particular memory area is provided addresses 0,1,2..n. • Now a program can be stored at non contiguous locations, but what if we use all available free memory is still the program can not be loaded into the main storage because the total free memory is still less than the size of the program. ILTWATS INDIA WORK 8
  • 9. NOW THE PROBLEM MENTIONED IN LAST POINT , HOW TO OVERCOME THAT PROBLEM? • To solve such a problem we require a technique with which a program can still be executed even if all of its is not loaded in a memory. • Solution is . They are of 2 types namely: • Program Paging • Program Segmentation ILTWATS INDIA WORK 9
  • 10. • Divide physical memory into fixed-sized (power of 2) blocks called frames. • Divide logical memory into blocks of same size called pages. • Keep track of all free frames. • To run a program of size n pages, need to find n free frames and load program. • Page table : used to translate logical to physical addresses. ILTWATS INDIA WORK 10
  • 11. • Now when a required page is not in the main storage an interrupt is known as missing page interrupt, is raised. • This fault is commonly called as page fault. • The OS takes action by bringing required page from the secondary storage into an empty page block, this is called demand paging or page in. • After page in page table is modified and new physical address is stored in it and execution resumes. • In some cases now storage is left then storage block is vacated by process page out. • This reading and writing of pages determines page traffic.If page traffic is too much situation is called thrashing. ILTWATS INDIA WORK 11
  • 12. • Memory-management scheme that supports user view of memory. • A program is a collection of segments. A segment can be any logical unit eg: code, global variables, heap, stack,... • Segment sizes may be different • Segmentation Architecture:- • Segment table– maps two-dimensional physical addresses; each table entry has: 1.base – contains the starting physical address where the segments reside in memory. 2.limit – specifies the length of the segment. • Segment-table base register (STBR)-points to the segment table’s location in memory. • Segment-table length register (STLR)-indicates number of segments used by ILTWATS INDIA WORK 12
  • 13. • In the same way as of paging, segment in the memory are processed and if a segment is not available in the memory segment missing fault is raised. • To increase the efficiency of a system sometimes paging and segmentation is combined. A large segmentation is broken into pages and is stored in contiguous area. • Now within the pages `swapping’ is possible as it improves the efficiency of system as access of pages within the segment is fastened up. • Thus the address now contains the segment id, page number within the segment and the word in a page. • OS like IBM 360/67 and MULTICS use this very technique segmentation with paging. ILTWATS INDIA WORK 13
  • 14. THANK YOU A Presentation By- ATUL SHARMA ILTWATS INDIA WORK 14