4,233 views
0 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 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
Position:
Show:

Related questions

1 1 vote
1 1 answer
5.3k
5.3k views
Shubhanshu asked Oct 31, 2018
5,274 views
Consider $6$ memory partitions of sizes $200$ $\text{KB}$, $400$ $\text{KB}$, $600$ $\text{KB}$, $500$ $\text{KB}$, $300$ $\text{KB}$and $250$ $\text{KB}$, where $\text{K...
2 2 votes
1 1 answer
3.5k
3.5k views
Sandip Shaw asked Nov 12, 2015
3,483 views
I always get confused between internal and external fragmentation.Is there any relation between them?pls explain in detail
1 1 vote
2 2 answers
1.2k
1.2k views
radha gogia asked Oct 17, 2015
1,207 views
whenever we have internal fragmentation then we always have external fragmentation so but not vice-versa so is internal fragmentation a sufficient condition for external ...
0 0 votes
1 1 answer
691
691 views
Veer123 asked Sep 2, 2022
691 views
If the main memory is divided into 4 fixed sized partitions of 5KB each and each of them is occupied by processes of 4KB each can I say that the total 4KB of space unused...