904 views
1 votes
1 votes
Suppose I have two processes requiring 50 bytes each. If I have a single partition of 100 bytes. Can both the processes occupy this hole or only one of them causing an internal fragmentation of 50 bytes ?

Also if internal fragmentation is present then external fragmentation is also present?

2 Answers

0 votes
0 votes
In fixed partition method partition will contain one process.

But in case of variable partition 100 bytes hole will be divided into two parts according to the size of the process and two processes can be allocated memory.
0 votes
0 votes
If you have a single partition of 100 bytes and two processes requiring 50 bytes each, then only one of the processes can occupy the partition at a time. This would result in an internal fragmentation of 50 bytes. Internal fragmentation occurs when memory is divided into fixed-sized partitions and a process is allocated to a partition that is larger than its memory requirements. The unused memory within the partition is wasted and cannot be used by other processes.

Related questions

1 votes
1 votes
2 answers
2
kapilbk1996 asked Jul 28, 2018
2,527 views
"Linked allocation of files on a disk space can lead to internal fragmentation"Is this statement true or false? Justify your answer.
0 votes
0 votes
1 answer
3
rishu_darkshadow asked Sep 26, 2017
628 views
Assume N segments in memory and a page size of P bytes. The wastage on account of internal fragmentation is:
1 votes
1 votes
1 answer
4
Rajesh R asked Oct 20, 2017
572 views
When calculating fragmentation offset, we try to make the size of frame multiple of 8.Can someone tell me when to remove bits and make it multiple of 8 and when to pad bi...