Why Internal Fragmentation is Allowed?
As Internal Fragmentation is nothing but a problem there isn’t any significant advantage that it provides to the system. But there are a couple of things that favor causing it, which are:
- As the allocation always occurs in a fixed size only the allocation becomes fast and simple.
- When the overhead calculation for the system is done it outputs to be pretty predictable which in return gives a predictable performance. The overhead calculation is accurate as the overhead caused by the Internal Fragmentation is already well known.
Internal Fragmentation in OS
Internal Fragmentation is a problem that occurs due to poor memory allocation and it results in wastage of memory. When a process is loaded into the system it requests memory which is essential for its working. The operating system allocates memory to processes to work with but if the memory happens to be smaller and bigger than the process requirement the extra space goes unused. This small amount of memory unutilization is the major Internal Fragmentation appearing in the Operating System.