114k views
0 votes
What is compaction?

a) A technique for overcoming internal fragmentation
b) A paging technique
c) A technique for overcoming external fragmentation
d) A technique for overcoming fatal error

User Mrcaramori
by
7.8k points

1 Answer

3 votes

Final answer:

Compaction is a technique used to overcome external fragmentation in operating systems by rearranging memory to allocate contiguous blocks of memory for processes. It improves memory utilization and system performance.

Step-by-step explanation:

Compaction refers to a technique used to overcome external fragmentation in operating systems. It involves rearranging the memory to allocate contiguous blocks of memory for processes, reducing the amount of wasted space caused by fragmentation. This is commonly done through defragmentation algorithms, such as the buddy system or the segmentation and paging technique. Compaction helps improve memory utilization and system performance.

User Subodh Karwa
by
8.1k points