Operating system paging and segmentation

4,866 views 9 slides May 06, 2017
Slide 1
Slide 1 of 9
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9

About This Presentation

paging and segmentation in OS


Slide Content

paging and segmentation Operating system Harmain haider(23) Hamza haseeb (14)

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.

Why we use paging ? Paging is a memory management technique. Paging allows the physical address space of the process to be non contiguous.

Paging hardware

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.

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.

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.
Tags