Home | Projects | Notes > Operating Systems > Hardware & Control Structures

Hardware & Control Structures

 

Characteristics of Paging and Segmentation

Two important characteristics of simple paging and simple segmentation:

  1. All memory references within a process are logical address that are dynamically translated into physical addresses at run-time. (A process may be swapped in and out of main memory such that it occupies different regions of main memory at different times during the course of execution. The part of the secondary memory where swapped out pages go is called the "Swap memory/space").

  2. A process may be broken up into a number of pieces (pages or segments) and these pieces need not be contiguously located in main memory during execution. The combination of dynamic run-time address translation and the use of a page or segment table permits this.

These lead to the breakthrough in memory management; it is not necessary that all of the pages or all of the segments of a process be in main memory during execution.

 

characteristics-of-paging-and-sgementation

 

 

Introduction to Virtual Memory

Locality and Virtual Memory

 

Virtual Memory Paging

 

typical-memory-management-formats

 

Page Table Structure

 

address-translation-in-a-paging-system

 

 

a-two-level-hierarchical-page-table

 

address-translation-in-a-two-level-paging-system

 

Inverted Page Table

 

inverted-page-table-structure

 

Translation Lookaside Buffer (TLB)

 

use-of-a-translation-lookaside-buffer

 

 

operation-of-paging-and-translation-lookaside-buffer

 

Characteristics of Paging

 

Segmentation

Virtual Memory Implication

Organization

 

address-translation-in-a-segmentation-system

 

Characteristics of Segmentation

 

Paging & Segmentation Combined

 

address-translation-in-a-segmentation-paging-system

 

 

typical-memory-management-formats-combined-segment-and-paging

 

 

Protection & Sharing

 

protection-relationships-between-segments

 

 

Virtual Memory Terminology

 

 

References

Stallings, W. (2018). Operating Systems: Internals and Design Principles (9th ed.). Pearson Education, Inc.