Compare, Distinguish and explain what is the difference between Paging and Segmentation.

Difference between Paging and Segmentation

1. Paging is a memory management scheme. Segmentation is also a memory management scheme.

2. In paging, Operating system must maintain a page table for each process showing which frame each page occupies. In segmentation, operating system must maintain a segment table for each process showing the base address and length of each segment.

3. Operating system must maintain a free frame list in paging. Operating system must maintain a list of free holes in main memory in segmentation.

4. In paging, processor uses page number and offset to calculate the absolute address. In segmentation, processor uses segment number and offset to calculate absolute address.

5. In paging, all the pages of a process must be in main memory to run, unless overlays are used. In segmentation, all the segments of a process must be in main memory for process to run unless overlays are used.

   
Tags:
About Author: Jeniffer Fleming