You are on page 1of 1

#A logical address is the virtual address that is generated by the CPU during

program execution.
A user can view the logical address of a computer program. It is the address seen
by the process and is relative to the program’s address space.
The process accesses memory using logical addresses, which are translated by the
operating system into physical addresses.
The use of logical addresses provides a layer of abstraction that allows processes
to access memory without knowing the physical memory location.

#On the other hand, a physical address is one that represents a location in the
computer memory.
A user cannot view the physical address of a program.
A physical address is the actual address in main memory where data is stored.
It is a location in physical memory, as opposed to a virtual address.
Physical addresses are used by the memory management unit (MMU) to translate
logical addresses into physical addresses.
The translation from logical to physical addresses is performed by the operating
system’s memory management unit.
The MMU uses a page table to translate logical addresses into physical addresses.
The page table maps each logical page number to a physical frame number.
................................
Single Partition Allocation:
In this memory allocation method, the operating system resides in the low memory.
The remaining memory treated as a single partition. This single partition is
available for userspace.
Only one job can be loaded in this user space.

Multiple Partitions Memory Management:

This method can be implemented in 3 ways. These are:


i. Fixed-equal Multiple Partitions Memory Management
ii. Fixed-variable Partitions Memory Management
iii. Dynamic Partitions Memory Management
Fixed-equal Multiple Partitions Memory Management:
In this memory management, the operating system occupies the low memory and the
rest of the main memory is available for user space.
The user space divides into fixed partitions.
The partition sizes are depending on the operating system.

Fixed-variable Partitions Memory Management:


In this memory management, the user space of the main memory is divided into
several partitions.
But the partition sizes are different lengths.
The operating system keeps a table indicating which partitions of memory are
available and which are occupied.

Dynamic Partitions Memory Management:


To eliminate some of the problems with fixed partitions, an approach known as
Dynamic Partitions.
In this method, partitions are created dynamically.
So that each process loads into a partition of the same size as that process.
first fit,best fit,worst fit

You might also like