Segmentation, advantages, an example of segmentation in Operating Systems (OS)

Segmentation, advantages, an example of segmentation in Operating Systems (OS)

In this tutorial, we will try to answer the following questions;

What is segmentation?

What are the advantages of segmentation?

Give an example of segmentation?

What is segmentation?

Segmentation is a memory management technique in which we divide the process  Read More  into smaller segments.  The process is segmented module by module. In main memory, we only store the segments of the process. Process segment table is used to keep the record of segments, its size, and its memory address.

Example of segmentation

segmentation os operating system advantages examples
Figure: segmentation os operating system advantages examples

In this example, the process is divided into three segments.

  • Size of segment 1 is 50KB
  • Segment 2 is of 100KB
  • Segment 3 is of 60KB. 
  • Segment 1 is stored on address 11
  • Segment 2 is stored on address 13
  • Segment 3 is stored on address 14

What are advantages of segmentation?

  • The segment table is used to keep the record of segments and segment table occupies less space as compared to the paging table.
  • No internal fragmentation.  Read More 

    What are disadvantages of segmentation?

    • Due to segments external fragmentation occurs and external fragmentation results in a lot of memory waste.
Fazal Rehman Shamil
Welcome to all friends. The reason for our success is only your love for T4Tutorials. Our team is always available to answer your queries regarding any kind of confusions or discussion regarding your study and career matters. For discussion with us please join our facebook group "T4Tutorials.com". The link of the group is mentioned below. Thanks and love to all for connecting with us. We are nothing without you. Love you all.....
https://web.facebook.com/groups/2066136233601097/

Leave a Reply