Basic | Allocates consecutive blocks of memory to a process. | Allocates separate blocks of memory to a process. |
Overheads | Contiguous memory allocation does not have the overhead of address translation while execution of a process. | Noncontiguous memory allocation has overhead of address translation while execution of a process. |
Execution rate | A process executes fatser in contiguous memory allocation | A process executes quite slower comparatively in noncontiguous memory allocation. |
Solution | The memory space must be divided into the fixed-sized partition and each partition is allocated to a single process only. | Divide the process into several blocks and place them in different parts of the memory according to the availability of memory space available. |
Table | A table is maintained by operating system which maintains the list of available and occupied partition in the memory space | A table has to be maintained for each process that carries the base addresses of each block which has been acquired by a process in memory. |
0 Comments