Paged Segmentation and Segmented Paging (original) (raw)

Last Updated : 5 Jan, 2026

Paged segmentation and segmented paging are two memory management techniques that combine the principles of segmentation and paging to overcome their individual drawbacks. While they both use a two-level address translation system, the key difference lies in the organization of the tables and how they handle fragmentation.

Major Limitation of Single Level Paging

In single-level paging, the page table can become very large if the logical address space is big.

Page table with invalid entries

To overcome this flaw, we use Segmented Paging.

Segmented Paging

Segmented Paging is a hybrid memory allocation technique that uses the benefits of both segmentation and paging.

To understand segmented paging in detail, refer article: Segmented Paging

Paged Segmentation

In segmented paging, each process has a different number of segments, and the segment tables can grow very large. This variation may lead to external fragmentation because of uneven segment table sizes. To solve this, paged segmentation is used, where the segment table itself is divided into pages.

The logical address generated by the CPU is now divided into four parts:

This approach allows the system to manage even large segment tables efficiently, ensuring better use of memory while still preserving the logical view of segmentation.

Paged Segmentation

Address translation in paged segmentation:

Paged_Segmentation

**1. Logical Address Breakdown: The CPU generates a logical address divided into four fields: s1 | s2 | p | w.

**2. Segment Directory (s1)

**3. Pages of Segment Table (s2)

**4. Page Tables (p)

**5. Word/Offset (w): Finally, the offset (w) is added to reach the exact word/byte in physical memory.

**Advantages of Paged Segmentation

**Disadvantages of Paged Segmentation