wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Paginng In OS

profile
ANUJ YADAV
Sep 08, 2024
0 Likes
0 Discussions
81 Reads

                         Paging in Operating Systems

Paging is a memory management scheme used by operating systems to eliminate the problem of fitting varying-sized processes into fixed-sized memory spaces. It allows a process's physical memory to be non-contiguous, effectively avoiding fragmentation and ensuring efficient use of memory.

 

How Paging Works :

Logical and Physical Memory Separation :

Paging separates the logical address space (the addresses used by programs) from the physical address space (the actual addresses in RAM). This means a program’s memory can be scattered across different locations in physical memory, while still appearing contiguous to the program itself.

 

Pages and Frames

 

Pages: The process’s logical memory is divided into fixed-sized blocks called pages.

Frames: The physical memory is also divided into blocks of the same size as the pages, called frames.

The OS loads pages from the logical address space into available frames in the physical address space.

Page Table

The operating system maintains a page table for each process. This table maps the logical pages to their corresponding frames in physical memory. When a program references a memory address, the CPU uses the page table to translate the logical address into a physical address.

 

Address Translation

Every memory access by a program involves two components: the page number and the page offset.

 

The page number identifies the specific page in the page table.

The page offset is the exact location within the page.

The operating system uses this information to find the corresponding physical address in the frame.



Comments ()


Sign in

Read Next

Deadlocks

Blog banner

The New Rules of UI/UX Design Every Website Must Follow in 2026

Blog banner

Service Strategy principles

Blog banner

Processing Crime and Incident Scenes

Blog banner

Cyber Bullying - Neeta Vonkamuti

Blog banner

Predicting Student Performance with Data Science

Blog banner

ADD A SPICE TO YOUR LIFE.

Blog banner

Mumbaicha Dabbawalla

Blog banner

Different types of scam Fraud

Blog banner

Memory Management

Blog banner

Steganography and Steganalysis

Blog banner

Senseless Teeths

Blog banner

Different memory allocation strategies

Blog banner

Decrypting Cryptocurrency: Tracing Transactions in Cyber Investigations

Blog banner

Impacts of Data Breach On Companies Challenges and Prevention

Blog banner

In the world of Technology...

Blog banner

Fun Christmas Activities For Toddlers & Kids

Blog banner

Deming’s Process

Blog banner

Understanding the 4 Types of Learning Methods in Early Childhood

Blog banner

Top 4 Places To Stay In Copenhagen

Blog banner

Life

Blog banner

Synchronization

Blog banner

5 Common Faults In Construction Tenders

Blog banner

Natural Language Processing(NLP)

Blog banner

ACHIEVEMENTS IN OPERATING SYSTEMS

Blog banner

Service Operation

Blog banner

Classification Algorithms (Decision trees, SVM, Logistic regreession)

Blog banner

"Can Lisp do Machine Learning?"

Blog banner

Palliative and End — of — Life Care: A Psychological and Holistic Perspective

Blog banner

File and File System Structure

Blog banner

Explain the concept of ( MIS) Management information systems

Blog banner

INTRODUCTION

Blog banner

Linux 94

Blog banner

Veg/Non-veg/Egg Tiffin Meals That Are Nutritious and Filling

Blog banner

Cyber-crime Investigation and Future Directions

Blog banner

Race condition

Blog banner

Patola Outfits for the Modern Wardrobe: Reviving Indian Handloom in Style

Blog banner

How can parents support a child’s mental health?

Blog banner

Introduction to Virtual Memory - 080

Blog banner

ODOO

Blog banner

Risk factors in service transistion

Blog banner

Data Warehouse Bus Matrix

Blog banner