Segmentation in Operating System | Segmentation and Paging

  1. Virtual memory segmentation -
    Each process is broken down into several segments. Not all segments are resident at the same time.
  2. Simple segmentation -
    Each process is broken into several segments that are all loaded into memory at run-time, but not necessarily in a sequential fashion.
  • Base address: It contains a starting physical address at which the segments are stored in memory.
  • Limit This specifies the length and width of the segment.
  • Segment number (s). The number of bits needed to represent the segment.
  • Segment offset d: The number of bits needed to represent the segment’s size.
  • There is no internal fragmentation.
  • Segment table takes up less space than Page table in paginating.
  • As the processes are loaded into and removed from memory, the available memory space is fragmented, leading to External Fragmentation.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store