3
Most read
7
Most read
9
Most read
Vadodara Institute of Engineering
Active Learning Assignment
Sub :- Operating Systems ( 2140702 )
Topic:- Introduction of Memory Management
Presented by:-
Kashyap Patel 15CE046
Krishna Patel 15CE047
Maitree Patel 15CE048
Computer Engineering - 1
CONTENT
• Physical and Logical address
• Dynamic relocation
• Memory Management Unit
• Memory allocation
• Swapping
LOGICAL AND PHYSICAL ADDRESS
• Logical address: It is the address of the program that is generated by
a CPU.
• Physical address : It is the address generated by the memory
management unit(MMU).
• Logical and physical address are same at compile time and load time.
• They differ in execution time address binding scheme.
Dynamic Relocation
MEMORY MANAGEMENT UNIT
• It’s a hardware device that maps logical address to physical address .
• In the MMU value the re-location register is added to every address
generated by a program at a time the address is then send to memory.
• The program deals with logical address.
HARDWARE SUPPORT FOR RELOCATION AND LIMIT
REGISTER
CPU < + MEMORY
LIMIT REGISTER
TRAP ADDRESSING
ERRORS
RELOCATION
REGISTER
yeslogical
• There are multiple partition for multiple processes ,the relocation and
limit register are use to protect processes from one another, both the
register are part of process context.
• Relocation register contains smallest value of physical address.
• The limit register contains range of logical address.
• Logical address < Limit register
SWAPPING
• The swapping of program from main memory to secondary memory
that is back up storage and from secondary to main is called swapping
in and swapping out respectively.
• This phenomena of process switching its memory is called as
swapping.
MEMORY ALLOCATION
• Memory allocation
Contiguous Non-contiguous
1 Static 1 Paging
2 Dynamic 2 Segmentation
• There are mainly two types of memory management.
1 Contiguous
2 Non-contiguous
1 CONTIGUOUS
• That divided into two parts,
Static : static that is having fix partition in main memory which are their
from the system generation time.
Dynamic: it’s without partition and the process gets loaded dynamicaly
into the memory and find space for itself.
Static memory allocation:
Equal size partition: The main memory is divided into fix equal size partition .
For exam, if 1 partition is of 2mb then the all the other partition would be the
same size.
Main Memory
2mb
2mb
2mb
2mb
Unequal size partition : Here all the partition of main memory are of different
sizes.
Main Memory
2mb
4mb
3mb
1mb
Dynamic memory allocation :
The main memory is not having fix partition , so the whole main memory
is continuous form.
The process dynamically get loaded into the main memory at run time.
for eg , suppose there are 5
P1=50mb
P2=20mb
P3=15mb
P4=10mb
P5=15mb
MM=100mb
1
P1=50mb
50mb
OS
2
P1 =50mb
P2=20mb
30mb
OS
3
P1=50mb
P2=20mb
P3=15mb
OS
25mb
4
P1=50mb
P2=20mb
P3=15mb
P4=10mb
OS
5mb
5
P5=15mb
P2=20mb
P3=15mb
P4=10mb
OS
35mb
5mb
FRAGMENTATION
• The extra space that remain in the main memory after all the
processes have loaded is called as hole or fragment.
• There are 2 type :
1.Internal fragmentation: Internal takes place in static memory
allocation.
2.External fragmentation : there is a enough memory space to load a
new process but as it is not in a continuous manner the process cant be
loaded into main memory.
CONCLUSION
• Memory management is a complex field of computer science and
there are many techniques being developed to make it more efficient.
MMU allocate memory to process when needed and deallocate when
processes are done.
References
http://staff.um.edu.mt/csta1/courses/lectures/csm202/os8.ht
ml
https://www.tutorialspoint.com/operating_system/oss_Mem
ory management.html
Book : Modern operating systems by Andrew S.Tanenbaum
Introduction of Memory Management

More Related Content

PPTX
Os unit 3
PPTX
Memory management
PPTX
Fragmentaton
PPTX
Virtual Memory
PPTX
Allocation of Frames & Thrashing
PPTX
Paging and Segmentation in Operating System
PPT
Virtual memory
PPT
Contiguous Memory Allocation.ppt
Os unit 3
Memory management
Fragmentaton
Virtual Memory
Allocation of Frames & Thrashing
Paging and Segmentation in Operating System
Virtual memory
Contiguous Memory Allocation.ppt

What's hot (20)

PDF
Computer organization memory
PPTX
Memory Organization
PPTX
Computer architecture memory system
PDF
Processor Organization and Architecture
PPTX
Process in operating system
PPTX
Cache memory ppt
PPT
cache memory
PPT
Sequential consistency model
PDF
Deadlock Avoidance - OS
PPTX
Swapping | Computer Science
PPTX
Pipelining And Vector Processing
PPT
Parallel processing
PPTX
Processor Organization and Architecture
PPTX
Pipelining and vector processing
PPT
Memory hierarchy
PDF
Memory management
PPT
Pass 1 flowchart
PPTX
Multivector and multiprocessor
PPTX
Computer architecture and organization
Computer organization memory
Memory Organization
Computer architecture memory system
Processor Organization and Architecture
Process in operating system
Cache memory ppt
cache memory
Sequential consistency model
Deadlock Avoidance - OS
Swapping | Computer Science
Pipelining And Vector Processing
Parallel processing
Processor Organization and Architecture
Pipelining and vector processing
Memory hierarchy
Memory management
Pass 1 flowchart
Multivector and multiprocessor
Computer architecture and organization
Ad

Similar to Introduction of Memory Management (20)

PPTX
Virtual circuit and Datagram network
PPTX
Memory Management in Operating Systems ppt.pptx
PPTX
Memory management Assignment Help
PDF
Memory management OS
PPTX
Memory Management in System Designing.pptx
PPTX
Operating system memory management
PDF
OS-III UNIT IN CS3402 Operating System about Deadlock
PPTX
Os unit 2
PPTX
Memory management1
PPTX
Memory Management in OS
PPTX
Memory Managment(OS).pptx
PPTX
HW29kkkkkkkkkkkkkkkkkkkmmmmkkmmkkk454.pptx
PPT
Chapter 2 part 1
PPTX
Main Memory
PDF
Memory Management in Operating System
PPTX
Paging +Algorithem+Segmentation+memory management
PPTX
Memory management in operating system | Paging | Virtual memory
PPTX
CS345 16 - Ch07 Memory management 1.pptx
PPTX
virtual memoey.pptx
PPTX
Memory management concepts in operating system
Virtual circuit and Datagram network
Memory Management in Operating Systems ppt.pptx
Memory management Assignment Help
Memory management OS
Memory Management in System Designing.pptx
Operating system memory management
OS-III UNIT IN CS3402 Operating System about Deadlock
Os unit 2
Memory management1
Memory Management in OS
Memory Managment(OS).pptx
HW29kkkkkkkkkkkkkkkkkkkmmmmkkmmkkk454.pptx
Chapter 2 part 1
Main Memory
Memory Management in Operating System
Paging +Algorithem+Segmentation+memory management
Memory management in operating system | Paging | Virtual memory
CS345 16 - Ch07 Memory management 1.pptx
virtual memoey.pptx
Memory management concepts in operating system
Ad

More from Maitree Patel (10)

PPTX
MACs based on Hash Functions, MACs based on Block Ciphers
PPTX
Form using html and java script validation
PPT
Software engineering Testing technique,test case,test suit design
PPTX
Dotnet :Attributes
PPTX
Advance Java
PPTX
Scheduling Definition, objectives and types
PPTX
Simple Mail Transfer Protocol
PPTX
Gauss Quadrature Formula
PPT
Merge sort and Quick sort
PPTX
Static Import and access modifiers
MACs based on Hash Functions, MACs based on Block Ciphers
Form using html and java script validation
Software engineering Testing technique,test case,test suit design
Dotnet :Attributes
Advance Java
Scheduling Definition, objectives and types
Simple Mail Transfer Protocol
Gauss Quadrature Formula
Merge sort and Quick sort
Static Import and access modifiers

Recently uploaded (20)

PDF
COMPARATIVE ANALYSIS REPORT BY NDIDIAMAKA .G. ISRAEL
PPTX
Downstream processing_in Module1_25.pptx
PPTX
Cloud Security and Privacy-Module-1.pptx
PDF
Recent Trends in Network Security - 2025
PPTX
Ingredients of concrete technology .pptx
PDF
Introduction to Machine Learning -Basic concepts,Models and Description
PDF
B461227.pdf American Journal of Multidisciplinary Research and Review
PPTX
MODULE 02 - CLOUD COMPUTING-Virtual Machines and Virtualization of Clusters a...
PDF
ITEC 1010 - Networks and Cloud Computing
DOCX
web lab manual for fifth semester BE course fifth semester vtu belgaum
PPT
Basics Of Pump types, Details, and working principles.
PDF
CBCN cam bien cong nghiep bach khoa da năng
PDF
1.-fincantieri-investor-presentation2.pdf
PDF
AI agent, robotics based Smart Construction 2025
PDF
The Journal of Finance - July 1993 - JENSEN - The Modern Industrial Revolutio...
PDF
Manual variador de corriente directa parker.pdf
PPTX
highway-150803160405-lva1-app6891 (1).pptx
PPTX
CC PPTS unit-I PPT Notes of Cloud Computing
PDF
BBC NW_Tech Facilities_30 Odd Yrs Ago [J].pdf
PPTX
quantum theory on the next future in.pptx
COMPARATIVE ANALYSIS REPORT BY NDIDIAMAKA .G. ISRAEL
Downstream processing_in Module1_25.pptx
Cloud Security and Privacy-Module-1.pptx
Recent Trends in Network Security - 2025
Ingredients of concrete technology .pptx
Introduction to Machine Learning -Basic concepts,Models and Description
B461227.pdf American Journal of Multidisciplinary Research and Review
MODULE 02 - CLOUD COMPUTING-Virtual Machines and Virtualization of Clusters a...
ITEC 1010 - Networks and Cloud Computing
web lab manual for fifth semester BE course fifth semester vtu belgaum
Basics Of Pump types, Details, and working principles.
CBCN cam bien cong nghiep bach khoa da năng
1.-fincantieri-investor-presentation2.pdf
AI agent, robotics based Smart Construction 2025
The Journal of Finance - July 1993 - JENSEN - The Modern Industrial Revolutio...
Manual variador de corriente directa parker.pdf
highway-150803160405-lva1-app6891 (1).pptx
CC PPTS unit-I PPT Notes of Cloud Computing
BBC NW_Tech Facilities_30 Odd Yrs Ago [J].pdf
quantum theory on the next future in.pptx

Introduction of Memory Management

  • 1. Vadodara Institute of Engineering Active Learning Assignment Sub :- Operating Systems ( 2140702 ) Topic:- Introduction of Memory Management Presented by:- Kashyap Patel 15CE046 Krishna Patel 15CE047 Maitree Patel 15CE048 Computer Engineering - 1
  • 2. CONTENT • Physical and Logical address • Dynamic relocation • Memory Management Unit • Memory allocation • Swapping
  • 3. LOGICAL AND PHYSICAL ADDRESS • Logical address: It is the address of the program that is generated by a CPU. • Physical address : It is the address generated by the memory management unit(MMU). • Logical and physical address are same at compile time and load time. • They differ in execution time address binding scheme.
  • 5. MEMORY MANAGEMENT UNIT • It’s a hardware device that maps logical address to physical address . • In the MMU value the re-location register is added to every address generated by a program at a time the address is then send to memory. • The program deals with logical address.
  • 6. HARDWARE SUPPORT FOR RELOCATION AND LIMIT REGISTER CPU < + MEMORY LIMIT REGISTER TRAP ADDRESSING ERRORS RELOCATION REGISTER yeslogical
  • 7. • There are multiple partition for multiple processes ,the relocation and limit register are use to protect processes from one another, both the register are part of process context. • Relocation register contains smallest value of physical address. • The limit register contains range of logical address. • Logical address < Limit register
  • 8. SWAPPING • The swapping of program from main memory to secondary memory that is back up storage and from secondary to main is called swapping in and swapping out respectively. • This phenomena of process switching its memory is called as swapping.
  • 9. MEMORY ALLOCATION • Memory allocation Contiguous Non-contiguous 1 Static 1 Paging 2 Dynamic 2 Segmentation
  • 10. • There are mainly two types of memory management. 1 Contiguous 2 Non-contiguous 1 CONTIGUOUS • That divided into two parts, Static : static that is having fix partition in main memory which are their from the system generation time. Dynamic: it’s without partition and the process gets loaded dynamicaly into the memory and find space for itself.
  • 11. Static memory allocation: Equal size partition: The main memory is divided into fix equal size partition . For exam, if 1 partition is of 2mb then the all the other partition would be the same size. Main Memory 2mb 2mb 2mb 2mb
  • 12. Unequal size partition : Here all the partition of main memory are of different sizes. Main Memory 2mb 4mb 3mb 1mb
  • 13. Dynamic memory allocation : The main memory is not having fix partition , so the whole main memory is continuous form. The process dynamically get loaded into the main memory at run time. for eg , suppose there are 5 P1=50mb P2=20mb P3=15mb P4=10mb P5=15mb MM=100mb
  • 15. FRAGMENTATION • The extra space that remain in the main memory after all the processes have loaded is called as hole or fragment. • There are 2 type : 1.Internal fragmentation: Internal takes place in static memory allocation. 2.External fragmentation : there is a enough memory space to load a new process but as it is not in a continuous manner the process cant be loaded into main memory.
  • 16. CONCLUSION • Memory management is a complex field of computer science and there are many techniques being developed to make it more efficient. MMU allocate memory to process when needed and deallocate when processes are done.