Professional Documents
Culture Documents
Memory Management: Presented By:-Mr. P C Kaufa ND Computer Architecture and Servicing
Memory Management: Presented By:-Mr. P C Kaufa ND Computer Architecture and Servicing
Memory Management: Presented By:-Mr. P C Kaufa ND Computer Architecture and Servicing
MANAGEMENT
Presented By:-
Mr. P C Kaufa Nd
Computer Architecture and Servicing
Operating System
Relocation
Register
14000
Logical Address Physical
CPU +
Address
Memory
346 14346
MMU
Partitioning
P3 38 P4
40 40
47
P4 50 50
Operating
System
Process
Swap out P1
User Space
Swap in
Process
P2
Compaction
7 0 1 2 0 3 0 4 2 3 0
7 7 7 2 2 2 2 4 4 4 0
0 0 0 0 3 3 3 2 2 2
1 1 1 1 0 0 0 3 3
Optimal Page Replacement
7 0 1 2 0 3 0 4 2 3 0
7 7 7 2 2 2 2 2 2 2 2
0 0 0 0 0 0 4 4 4 0
1 1 1 3 3 3 3 3 3
Least Recently Used
7 0 1 2 0 3 0 4 2 30
7 7 7 2 2 2 2 4 4 4 0
0 0 0 0 0 0 0 0 3 3
1 1 1 3 3 3 2 2 2
SUMMARY
⦿ Memory refers to the physical devices used to store
the data temporary or permanent.
⦿ The process of changing the addresses during storage
is called binding.
⦿ The binding is of three types are Compile Time, Load
Time, Execution Time Binding.
⦿ The actual addresses that refer to actual physical
location of main memory are called physical
addresses.
⦿ The addresses generated by CPU are called Logical
addresses.
SUMMARY
⦿ The OS manages the main memory by dividing the
memory into regions of fixed or variable size is called
Partitioning.
⦿ The secondary memory that is used to keep the
portions of address spaces of currently executing
process is called virtual memory.
⦿ A demand paging system is similar to a paging
system with swapping
⦿ The algorithm used for page replacement are FIFO
Page Replacement, LRU page Replacement, Optimal
Page Replacement.
Thanks