Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
SlideShare a Scribd company logo
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)
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.
Operating system paging and segmentation
Operating system paging and segmentation
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.

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.