Ask Question

Compare the memory organization schemes of contiguous memory allocation and paging with respect to the following issues: a. External fragmentation b. Internal fragmentation c. Ability to share code across processes

+2
Answers (1)
  1. 4 August, 21:53
    0
    The comparison is based on memory organization schemes of contiguous memory allocation and paging with respect to External fragmentation, Internal fragmentation and Ability to share code across processes.

    Explanation:

    Memory organization schemes of contiguous memory allocation:

    Contiguous memory allocation schemes suffers from external fragmentation. The reason is that address space is distributed contiguously and the holes and gaps keep growing when the old processes die and new processes are introduced. The variable size partition suffers from external fragmentation however the fixed size partitions do not suffer from external fragmentation. Contiguous memory allocation with variable size partitions does not encounter an internal fragmentation but with fixed size partitions suffers from internal fragmentation. Contiguous memory allocation does not support sharing code across processes. This is because the virtual memory segment of a process is not fragmented into non-contiguous fine grained blocks.

    Paging:

    Paging does not encounter external fragmentation as pages are of the fixed or equal size. So this reduces external fragmentation. However paging suffers from internal fragmentation. This is because a process can request more space or it can request for a less space. When page is allocated to the such a process that page is no longer utilized. This results in internal fragmentation because of the wastage of space even when the page has internal space but cannot be fully utilized. Paging allows to share code across processes.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Compare the memory organization schemes of contiguous memory allocation and paging with respect to the following issues: a. External ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers