DS Microproject 2
DS Microproject 2
1
4 Tushar Manoj Sonawane 2
INDEX
1 Brief Introduction 1
3 Action Plan 2
4 Resources Required 2
Part B
1 Brief Description 3
7 Skill Developed 11
8 Applications of Microproject 12
PART A-Plan
2
Title of micro-project: Memory Management
3. Proposed Methodology-
3
exist, reflecting various approaches, and the effectiveness of each algorithm
depends on the situation.
4. Resources Required:
1. Brief Description :
4
whenever some memory gets freed or unallocated and correspondingly it
updates the status.
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
Memory Management is the process of controlling and coordinating
computer memory, assigning portions known as blocks to various running
programs to optimize the overall performance of the system.
5
main memory and execution disk. It helps OS to keep track of every memory
location, irrespective of whether it is allocated to some process or it remains
free.
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.
6
• 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
device Memory Management Unit(MMU). The physical address always
remains constant.
7
Static and Dynamic Loading:
To load a process into the main memory is done by a loader. There are two
different types of loading :
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.
8
we must reduce the waste of memory or fragmentation problems. In the
operating systems two types of 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.
3. Books OSY
4. Websites geeksforgeeks.com
5. Software Word 1
9
• Advantages
• Disadvantages
8. Conclusion :
9. Reference :
• https://www.techtarget.com/whatis/
• https://paragsali.wordpress.com/
• https://www.tutorialspoint.com/
10