Memory Management OSY (1) New
Memory Management OSY (1) New
SHRI H. H. J. B. POLYTECHNIC,CHANDWAD
TITLE OF PROJECT
Memory Management
1
MAHARASHTRA STATE
BOARD OF TECHNICAL EDUCATION
Certificate
Place: …………………….
Date: ………………………
2
Teacher Evaluation Sheet
3
INDEX
1 Brief Introduction 1
2 Aim of Micro Project 1
3 Action Plan 2
4 Resources Required 2
Part B
1 Brief Description 3
2 Aim of Micro Project 3
3 Course Outcome Integrated 3
4 Actual Procedure Followed 4
7 Skill Developed 11
8 Applications of Microproject 12
4
PART A-Plan
3. Proposed Methodology-
5
To achieve a degree of multiprogramming and proper utilization of memory,
memory management is important. Many memory management methods
exist, reflecting various approaches, and the effectiveness of each algorithm
depends on the situation.
4. Action Plan-
5. Resources Required:
6
PART B-Plan
1. Brief Description :
7
4. Actual Methodology/Procedure Followed:
ABSTRACT
Memory is the important part of the computer that is used to store the
data. Its management is critical to the computer system because the amount of
main memory available in a computer system is very limited. At any time, many
processes are competing for it. Moreover, to increase performance, several
processes are executed simultaneously. For this, we must keep several
processes in the main memory, so it is even more important to manage them
effectively.
INTRODUCTION
8
Memory Management
What is memory ?
The main memory is central to the operation of a modern computer. Main
Memory is a large array of words or bytes, ranging in size from hundreds of
thousands to billions. Main memory is a repository of rapidly available
information shared by the CPU and I/O devices. Main memory is the place
where programs and information are kept when the processor is effectively
utilizing them. Main memory is associated with the processor, so moving
instructions and information into and out of the processor is extremely fast.
Main memory is also known as RAM(Random Access Memory). This memory
is a volatile memory. RAM lost its data when a power interruption occurs.
9
What is Memory Management ?
In a multiprogramming computer, the operating system resides in a part
of memory and the rest is used by multiple processes. The task of subdividing
the memory among different processes is called memory management.
Memory management is a method in the operating system to manage operations
between main memory and disk during process execution. The main aim of
memory management is to achieve efficient utilization of memory.
Physical Address space: An address seen by the memory unit (i.e the one
loaded into the memory address register of the memory) is commonly known
as a “Physical Address”. A Physical address is also known as a Real address.
The set of all physical addresses corresponding to these logical addresses is
known as Physical address space. A physical address is computed by MMU.
The run-time mapping from virtual to physical addresses is done by a hardware
10
device Memory Management Unit(MMU). The physical address always
remains constant.
Static loading:- loading the entire program into a fixed address. It requires
more memory space.
Dynamic loading:- The entire program and all data of a process must be in
physical memory for the process to execute. So, the size of a process is limited
to the size of physical memory. To gain proper memory utilization, dynamic
loading is used. In dynamic loading, a routine is not loaded until it is called. All
routines are residing on disk in a relocatable load format. One of the advantages
of dynamic loading is that unused routine is never loaded. This loading is useful
when a large amount of code is needed to handle it efficiently.
Static linking: In static linking, the linker combines all necessary program
modules into a single executable program. So, there is no runtime dependency.
Some operating systems support only static linking, in which system language
libraries are treated like any other object module.
11
Fragmentation:
a. Internal Fragmentation
b. External Fragmentation
Paging :
Paging is a memory management scheme that eliminates the need for
contiguous allocation of physical memory. This scheme permits the physical
address space of a process to be non-contiguous.
12
5. Actual Resources Used:
Advantages
Disadvantages
13
7. Applications of Microproject :
8. Conclusion :
9. Reference :
• https://www.techtarget.com/whatis/
• https://paragsali.wordpress.com/
• https://www.tutorialspoint.com/
14