SlideShare a Scribd company logo
3
Most read
6
Most read
7
Most read
STRUCTURE OF THE PAGE
TABLE
PAGE TABLE :
• A PAGE TABLE is the data structure used by a virtual memory system
in a computer operating system to store the mapping between
virtual addresses and physical addresses.
STRUCTURE OF PAGE TABLE IN OPERATING SYSTEM
Common Techniques used for structuring the
page table are :
• Hierarchical paging
• Hashed page tables
• Inverted page tables
Hierarchical paging:
• It is also known as multilevel paging.
• The page table might be too big to fit in a contiguous space ,
so we may have a hierarchy with several levels.
• So , we break up the logical address space into multiple
page tables.
• For this a simple techniques we can use are:
Two level page table
Three level page table
Two level paging:
• A logical address (on 32-bit machine with 4k page size) is divided into:
A page number consisting of 20 bits.
A page offset consisting of 12 bits.
• Since the page table is paged , the page number is further divided into:
A 10-bit page number.
A 10-bit page offset.
• Thus a logical address is as follows:
page number | page offset
10 10 12
pi p2 d
Address translation scheme for the two level
paging is as follows:
Three level paging:
• A logical address(on 64-bit machine with 4k page size) is divided into:
outer page inner page offset
42 10 12
2nd
outer page outer page inner page offset
32 10 10 12
Pi P2 d
Pi P2 P3 d
Hashed page tables:
• It is a common approach used when address space is >32 bits.
• The virtual page number is hashed into a page table . This page table
contains a chain of elements hashing to the same location.
• Each element consists of three fields:
1. The virtual page number
2. The value of the mapped page frame
3. A pointer to the next element in the linked list.
Address translation scheme for the hashed
page table is as follows:
Inverted page tables:
• The inverted page table combines A page table and A frame table into one data
structure.
• One entry for each virtual page number & real page of memory.
• Entry consists of the virtual address of the page stored in that real memory
location , with information about the process that owns that page.
• Decreases memory needed to store each page table , but increases time needed
to search the table when a page reference occurs.
Address translation scheme for the Inverted
page table is as follows:

More Related Content

PPTX
Structure of the page table
PPTX
Operating System- Multilevel Paging, Inverted Page Table
PDF
Memory Management Strategies - IV.pdf
PPTX
Kalpana Devi/Operating System/Paging.pptx
PPTX
Paging_and_Page_Table_Preesentation.pptx
PPTX
Implementation of page table
PDF
Virtual memory and paging in the computer science and engineering department ...
PDF
Hardware implementation of page table
Structure of the page table
Operating System- Multilevel Paging, Inverted Page Table
Memory Management Strategies - IV.pdf
Kalpana Devi/Operating System/Paging.pptx
Paging_and_Page_Table_Preesentation.pptx
Implementation of page table
Virtual memory and paging in the computer science and engineering department ...
Hardware implementation of page table

Similar to STRUCTURE OF PAGE TABLE IN OPERATING SYSTEM (20)

PDF
AOS Lab 7: Page tables
PPT
Csc4320 chapter 8 2
PPTX
Memory management in operating system | Paging | Virtual memory
PPTX
DOCX
PAGIN AND SEGMENTATION.docx
PDF
Unit 5
PPT
unit-4 class (2).ppt,Memory managements part-1
PDF
CSI-503 - 8.Paging and Segmentation
PDF
381 ccs chapter6_updated(2)
PDF
Unit 3 Part 2.pdf OS IN THE PAGE STRUCTURE
PPT
main memory
PPTX
Memory map
PPTX
Virtual memory translation.pptx
PPT
Memory management
PPT
Structure of Page Tabe-R.D.Sivakumar
PPTX
Paging
AOS Lab 7: Page tables
Csc4320 chapter 8 2
Memory management in operating system | Paging | Virtual memory
PAGIN AND SEGMENTATION.docx
Unit 5
unit-4 class (2).ppt,Memory managements part-1
CSI-503 - 8.Paging and Segmentation
381 ccs chapter6_updated(2)
Unit 3 Part 2.pdf OS IN THE PAGE STRUCTURE
main memory
Memory map
Virtual memory translation.pptx
Memory management
Structure of Page Tabe-R.D.Sivakumar
Paging
Ad

More from rehna9 (7)

PPT
Software Design – Overview – Characteristics – Cohesion & Coupling – Layered ...
PPT
software engineering evolution and all of its models
PPT
CSC UNIT II IN THE SUBJECT CLIENT SERVER COMPUTING
PPT
CSC UNIT1 CONTENT IN THE SUBJECT CLIENT SERVER COMPUTING
PPT
4_25655_SE291_2020_1__2_1_Lecture 3 - Software Process Models.ppt
PPTX
Functions in python programming and its calling statement
PPT
PHP CONDITIONAL STATEMENTS AND LOOPING.ppt
Software Design – Overview – Characteristics – Cohesion & Coupling – Layered ...
software engineering evolution and all of its models
CSC UNIT II IN THE SUBJECT CLIENT SERVER COMPUTING
CSC UNIT1 CONTENT IN THE SUBJECT CLIENT SERVER COMPUTING
4_25655_SE291_2020_1__2_1_Lecture 3 - Software Process Models.ppt
Functions in python programming and its calling statement
PHP CONDITIONAL STATEMENTS AND LOOPING.ppt
Ad

Recently uploaded (20)

PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Sports Quiz easy sports quiz sports quiz
PPTX
Cell Structure & Organelles in detailed.
PDF
Insiders guide to clinical Medicine.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
Cell Types and Its function , kingdom of life
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
Pharma ospi slides which help in ospi learning
PDF
Computing-Curriculum for Schools in Ghana
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Sports Quiz easy sports quiz sports quiz
Cell Structure & Organelles in detailed.
Insiders guide to clinical Medicine.pdf
O7-L3 Supply Chain Operations - ICLT Program
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Microbial disease of the cardiovascular and lymphatic systems
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
TR - Agricultural Crops Production NC III.pdf
Renaissance Architecture: A Journey from Faith to Humanism
Anesthesia in Laparoscopic Surgery in India
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Cell Types and Its function , kingdom of life
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Pharma ospi slides which help in ospi learning
Computing-Curriculum for Schools in Ghana
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPH.pptx obstetrics and gynecology in nursing
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx

STRUCTURE OF PAGE TABLE IN OPERATING SYSTEM

  • 1. STRUCTURE OF THE PAGE TABLE
  • 2. PAGE TABLE : • A PAGE TABLE is the data structure used by a virtual memory system in a computer operating system to store the mapping between virtual addresses and physical addresses.
  • 4. Common Techniques used for structuring the page table are : • Hierarchical paging • Hashed page tables • Inverted page tables
  • 5. Hierarchical paging: • It is also known as multilevel paging. • The page table might be too big to fit in a contiguous space , so we may have a hierarchy with several levels. • So , we break up the logical address space into multiple page tables. • For this a simple techniques we can use are: Two level page table Three level page table
  • 6. Two level paging: • A logical address (on 32-bit machine with 4k page size) is divided into: A page number consisting of 20 bits. A page offset consisting of 12 bits. • Since the page table is paged , the page number is further divided into: A 10-bit page number. A 10-bit page offset. • Thus a logical address is as follows: page number | page offset 10 10 12 pi p2 d
  • 7. Address translation scheme for the two level paging is as follows:
  • 8. Three level paging: • A logical address(on 64-bit machine with 4k page size) is divided into: outer page inner page offset 42 10 12 2nd outer page outer page inner page offset 32 10 10 12 Pi P2 d Pi P2 P3 d
  • 9. Hashed page tables: • It is a common approach used when address space is >32 bits. • The virtual page number is hashed into a page table . This page table contains a chain of elements hashing to the same location. • Each element consists of three fields: 1. The virtual page number 2. The value of the mapped page frame 3. A pointer to the next element in the linked list.
  • 10. Address translation scheme for the hashed page table is as follows:
  • 11. Inverted page tables: • The inverted page table combines A page table and A frame table into one data structure. • One entry for each virtual page number & real page of memory. • Entry consists of the virtual address of the page stored in that real memory location , with information about the process that owns that page. • Decreases memory needed to store each page table , but increases time needed to search the table when a page reference occurs.
  • 12. Address translation scheme for the Inverted page table is as follows: