2,034 views
0 votes
0 votes

If holes are half as large as processes, the fraction of memory wasted in holes is 1/5 or 1/3

2 Answers

1 votes
1 votes

let there are processes of size then hole size will be x/2 

space occupied by processes= nx

space occupied by holes= nx/2

total memory= nx + nx/2 => 3nx/2

fraction of memory wasted by holes = space occupied by holes total memory

= (nx/2) / (3nx/2)

=1/3 ans

0 votes
0 votes
I would think of memory as linear, not planar, because of the way it is addressed. Then you have as many holes as processes, so the fraction of holes is 1/2÷1/2+1=1/3

at somewhere this solution is given what it mean?

Related questions

0 votes
0 votes
1 answer
1
Veer123 asked Sep 2, 2022
328 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...
1 votes
1 votes
2 answers
3
kapilbk1996 asked Jul 28, 2018
2,535 views
"Linked allocation of files on a disk space can lead to internal fragmentation"Is this statement true or false? Justify your answer.
1 votes
1 votes
2 answers
4
srestha asked Dec 31, 2017
1,006 views
True/FalsePaging suffers from internal fragmentation?