Skip to content
Related Articles

Related Articles

Difference between Fixed Partitioning and Variable Partitioning
  • Last Updated : 16 May, 2020

1. Fixed Partitioning :
Multi-programming with fixed partitioning is a contiguous memory management technique in which the main memory is divided into fixed sized partitions which can be of equal or unequal size. Whenever we have to allocate a process memory then a free partition that is big enough to hold the process is found. Then the memory is allocated to the process.If there is no free space available then the process waits in the queue to be allocated memory. It is one of the most oldest memory management technique which is easy to implement.

2. Variable Partitioning :
Multi-programming with variable partitioning is a contiguous memory management technique in which the main memory is not divided into partitions and the process is allocated a chunk of free memory that is big enough for it to fit. The space which is left is considered as the free space which can be further used by other processes. It also provides the concept of compaction. In compaction the spaces that are free and the spaces which not allocated to the process are combined and single large memory space is made.



Difference between Fixed Partitioning and Variable Partitioning :



S.NO. Fixed partitioning Variable partitioning
1. In multi-programming with fixed partitioning the main memory is divided into fixed sized partitions. In multi-programming with variable partitioning the main memory is not divided into fixed sized partitions.
2. Only one process can be placed in a partition. In variable partitioning, the process is allocated a chunk of free memory.
3. It does not utilize the main memory effectively. It utilizes the main memory effictively.
4. There is presence of internal fragmentation and external fragmentation. There is external fragmentation.
5. Degree of multi-programming is less. Degree of multi-programming is higher.
6. It is more easier to implement. It is less easier to implement.
7. There is limitation on size of process. There is no limitation on size of process.

Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :