3,020 views
0 votes
0 votes
Suppose that a total of 64MB RAM is available in a system. This memory space is partitioned into 8 fixed size slots of 8MB each. Assume 8 processes are currently requesting memory usage with sizes indicated as below: [2M, 4M, 3M, 7M, 9M, 6M, 1M, 8M] Calculate the size of memory wasted due to external and internal fragmentation. Assume more than one slot can be given to each process.

1 Answer

3 votes
3 votes
It is fixed partition scheme and slots are given which is fixed 8 mb each for process

1 process 1 came with 2 mb demand as per first fit scheme  we can place it in first block and 6 mb is wasted it is internal fragmentation

Then 2 to 8 process came accept 6 process each will get memory .. because 6 process is 9 mb is more than 8 mb as we know it is a fixed partition then the process will not get memory. Then external fragmentation occur which is 8 mb

And internal fragmentation is 25

Related questions

2 votes
2 votes
1 answer
2
Sandip Shaw asked Nov 12, 2015
2,429 views
I always get confused between internal and external fragmentation.Is there any relation between them?pls explain in detail