This document discusses paging and segmentation in operating systems. Paging divides memory into fixed-size pages for faster data access and allows physical addresses to be non-contiguous. It has advantages like no external fragmentation but disadvantages like internal fragmentation and consuming memory for page tables. Segmentation divides memory into segments of varying lengths and permissions for memory protection. It has advantages like no internal fragmentation and less memory used for segment tables, while lending itself to data sharing and protection but has the disadvantage of a more costly memory management algorithm.
1 of 9
More Related Content
Operating system paging and segmentation
1. P A G I N G A N D S E G M E N T A T I O N
Operating system
Harmain haider(23)
Hamza haseeb (14)
2. paging?
Paging is a memory management technique in which
memory is divided info fix size pages.
Paging is use for faster access to data.
It is a logical concept.
3. Why we use paging ?
Paging is a memory management technique.
Paging allows the physical address space of the
process to be non contiguous.
5. Advantages and disadvantages of paging
Advantages :
no external fragmentation.
Simply memory management algorithm.
Swapping is easy(equal sized pages and page frame).
Disadvantages:
Internal fragmentation.
Page tables may consume more memory.
6. Segmentation?
Segmentation is one of the most common ways to
achieve memory protection.
The user will view as a combination of segments.
Each memory segment is associated with a specific
length and set of permissions.
9. Advantages and disadvantages of segmentatioin
Advantages :
no internal fragmentation.
Segment tables consume less memory than page.
Lends itself to sharing data among processes.
Lends itself to protection.
Disadvantages:
Costly memory management algorithm.