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 Operating System fragmentation + – rishu_darkshadow asked Sep 26, 2017 rishu_darkshadow 2.0k views answer comment Share Follow See all 4 Comments See all 4 4 Comments reply gari commented Sep 26, 2017 i moved by gari Sep 27, 2017 reply Follow Share If total size of processes = P bytes , total space occupied by holes =P + P/2 bytes( holes are half as large as processes) total memory = P+P+P/2 = (5P)/2 fraction of memory wasted in holes =( 3P/2 ) / (5P/2)=3/5 Please tell if something wrong. 0 votes 0 votes rishu_darkshadow commented Sep 26, 2017 reply Follow Share @ gari but the given ans is 1/5 can u plzz upload any document or link regarding your ans. 0 votes 0 votes gari commented Sep 27, 2017 reply Follow Share Hi ... I think earlier i misunderstood the question so i have made changes to it ...and i m still not able to get 1/5 according to my understanding. @Bikram sir please help!! 0 votes 0 votes saxena0612 commented Sep 27, 2017 i reshown by saxena0612 Sep 27, 2017 reply Follow Share Total memory occupied by process=x. Holes are half as large memory occupied by process : x/2 Total mem=3x/2 Memory wasted : x/2 / 3x/2=1/3 2 votes 2 votes Please log in or register to add a comment.
1 votes 1 votes let there are n processes of size x 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 sachin486 answered Sep 4, 2020 sachin486 comment Share Follow See all 0 reply Please log in or register to add a comment.
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? shruti gupta1 answered Apr 26, 2018 shruti gupta1 comment Share Follow See all 0 reply Please log in or register to add a comment.