Skip to main content

Fixed vs variable partitioning

Short answer

Fixed partitioning uses static partition sizes, causing internal fragmentation and simple management. Variable partitioning allocates partitions exactly as needed, avoiding internal fragmentation but creating external holes that require coalescing and compaction, achieving higher memory utilization with more overhead.

Prepare a comparative note on the fixed and variable partitioning multiprogramming techniques for real memory management.

Both are contiguous real-memory management schemes for multiprogramming: main memory is divided into partitions, each holding one process.

Fixed (static) partitioning divides memory into a fixed number of partitions of equal or unequal size at system start-up. Variable (dynamic) partitioning creates a partition of exactly the required size when a process is loaded; the partitions and their number change over time.

PointFixed partitioningVariable partitioning
Partition sizeFixed before executionCreated as per process size
Number of partitionsFixed, so limits degree of multiprogrammingVariable
Internal fragmentationYes (partition larger than process)None
External fragmentationNot significant (but unusable free partitions exist)Yes, holes appear as processes leave
Memory utilizationLowHigher
Process size limitCannot exceed largest partitionLimited only by free memory
AllocationSimple; queue per partition or a single queueNeeds first/best/worst fit algorithms
Management overheadLow (simple table)Higher (free-list, coalescing, compaction)
RelocationStatic, simplerNeeds dynamic relocation for compaction
ExampleIBM OS/360 MFTIBM OS/360 MVT

Example: memory 100 K, processes of 30 K, 25 K, 20 K. With fixed 25 K partitions the 30 K process cannot be loaded and the 20 K process wastes 5 K. With variable partitioning all three fit exactly (75 K used, 25 K hole).

In short, fixed partitioning is simple but wasteful; variable partitioning uses memory efficiently but suffers external fragmentation, which requires coalescing and compaction.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Operating System chapter 4 questions →