FOR FREE YEAR SOLVED

Algorithms for finding appropriate holes in memory 

 

Introductions and list of Algorithms 

The dynamic storage allocation problem, which concerns how to satisfy a request of size n from a list of free holes. To find the appropriate holes there are many solutions to this problem as below 

 

1) First fit                     

2) Next fit

3) Best fit

4) Worst fit

5) Quick fit

 

Note: This algorithm is for fixed partitioning and dynamic partitioning, but here we only discuss here dynamic partitioning because fixed partitioning rarely uses, we are less interested.

 

For the above schemes, the Memory Manager organizes the memory lists of the free and used partitions (free/busy) either by size or by location.

 

The algorithms we will discuss, only mention dynamic partitioning not for fixed partitioning because it is rarely used.