Open In App

Segmentation in Operating System

A process is divided into Segments. The chunks that a program is divided into which are not necessarily all of the exact sizes are called segments. Segmentation gives the user’s view of the process which paging does not provide. Here the user’s view is mapped to physical memory.

Types of Segmentation in Operating System

There is no simple relationship between logical addresses and physical addresses in segmentation. A table stores the information about all such segments and is called Segment Table. 

What is Segment Table?

It maps a two-dimensional Logical address into a one-dimensional Physical address. It’s each table entry has:

Segmentation

Translation of Two-dimensional Logical Address to Dimensional Physical Address. 

Translation

 The address generated by the CPU is divided into:

Advantages of Segmentation in Operating System

Disadvantages of Segmentation in Operating System

FAQs on Segmentation

1. What is Segmentation?

Answer:

Segmentation in Operating systems can be determined as a division of primary memory into small-sized blocks.

2. Why is Segmentation used in OS?

Answer:

Segmentation is a memory management technique that is used to improve the performance of an Operating System.

Article Tags :