in Operating System
651 views
0 votes
0 votes
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.
in Operating System
651 views

4 Comments

I think it is a good reference

https://gateoverflow.in/9566/segmentation

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

0
0
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..
1
1

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 https://gateoverflow.in/33954/segmented-paging-and-paged-segmentation

1
1

1 Answer

2 votes
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.
selected by