GATE CSE
First time here? Checkout the FAQ!
x
0 votes
179 views
Can someone make me clear whether segmentation method of memory allocation is free from internal and external fragmentation.? Also plz give valid explanation in support of your answer.
asked in Operating System by Veteran (87.4k points) 15 57 292 | 179 views
Internal -no. Because we just allocate what we need.

External- yes. Because due to variable size allocation space can be wasted in between.
But sir I think internal fragmentation is possible if segmented paging is used then fragment possible in the last page of the segment which will be internal fragmentation..Correct me sir if I m wrong..

I think it is a good reference

http://gateoverflow.in/9566/segmentation

if segmentation is variable partitioning then it is free from internal fragmentation , but not from external fragmentation

Thanks a lot @srestha..So we can say out of the available methods , segmentation is best method of memory allocation isn't it??

In case segment size becomes large we do paging of the segment..

segmentation is better than static partitioning. I think it is not best, as it causes external fragmentation. Some times paging gives better memory utilization than segmentation

For ur 2nd question ans is http://gateoverflow.in/33954/segmented-paging-and-paged-segmentation

1 Answer

+2 votes
Best answer
i think segmentation doesnt create any internal fragmentation as each module of the process is entirely occupied in the segment.
but it creates external frgmentation when we free one few segments...which creates holes.
answered by Veteran (12.5k points) 12 51 155
selected by

Related questions

+1 vote
3 answers
1
asked in Operating System by Cruise Device Junior (593 points) 3 10 16 | 344 views
0 votes
1 answer
2
asked in Operating System by Cruise Device Junior (593 points) 3 10 16 | 463 views
+3 votes
1 answer
3
asked in Operating System by Pooja Palod Veteran (32.9k points) 45 230 468 | 2k views


Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
Top Users Oct 2017
  1. Arjun

    23242 Points

  2. Bikram

    17048 Points

  3. Habibkhan

    7096 Points

  4. srestha

    6012 Points

  5. Debashish Deka

    5430 Points

  6. jothee

    4928 Points

  7. Sachin Mittal 1

    4762 Points

  8. joshi_nitish

    4278 Points

  9. sushmita

    3954 Points

  10. Rishi yadav

    3744 Points


Recent Badges

Popular Question Ml_Nlp
Notable Question set2018
Notable Question rahul sharma 5
Notable Question Sanjay Sharma
Notable Question Lakshman Patel RJIT
Popular Question makhdoom ghaya
Popular Question Çșȇ ʛấẗẻ
Reader kenzou
Popular Question mystylecse
Notable Question Sanjay Sharma
27,262 questions
35,076 answers
83,760 comments
33,185 users