wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Paginng In OS

profile
ANUJ YADAV
Sep 08, 2024
0 Likes
0 Discussions
82 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

AI and Technology- Related Anxiety: Understanding the Psychological Impact of Living in an AI-Driven World

Blog banner

Smartsheet

Blog banner

Intrusion Detection System

Blog banner

Why Progressive Web Apps (PWAs) Are Replacing Traditional Websites

Blog banner

Google classroom

Blog banner

MailChimp

Blog banner

A Review on Data Acquisition in Cyber Forensics

Blog banner

Pandas Matrix Applications

Blog banner

SECURITY TOOLS

Blog banner

Riddhi Miyani 53003220140

Blog banner

Anomaly Detection in Behavioral Data Using Machine Learning

Blog banner

Current Trends in GIS and Remote Sensing(Ocean Applications)

Blog banner

Data is an asset and it is your responsibility!

Blog banner

Water Resources are about to exhaust...

Blog banner

Title: Network Sniffing Techniques: Uncovering the Secrets of Data Transfer

Blog banner

Sleep Matters: The Science Behind Toddler Naps

Blog banner

LINUX

Blog banner

The Benefits of Mixed Learning Activities for Preschoolers

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Deadlocks in Operating Systems

Blog banner

The Memory Hierarchy

Blog banner

Vulnerability Assessment (Vulnerability Analysis)

Blog banner

GIS Applications: How Different Industries are Leveraging Geospatial Data

Blog banner

Understanding Gen Z: A Generation Facing Crisis and Potential

Blog banner

RACI model in IT services

Blog banner

Studying Denial of service attack using DOSHTTP tool

Blog banner

Body Image and Low Self Esteem: Understanding the Emotional Impact Beyond Appearance

Blog banner

Critical success factors

Blog banner

Web browser forensics:Tools,Evidence collection and analysis

Blog banner

How to Manage Business Invoices and Payments Easily?

Blog banner

Diwali

Blog banner

DIGITAL TECHNOLOGY

Blog banner

How Cyber Forensics use in AI

Blog banner

Beatbox

Blog banner

Design Considerations for Disk Cache Management

Blog banner

Big Data Architecture

Blog banner

VIRTUAL MACHINES

Blog banner

Who decides your overthinking, anyway?

Blog banner

Blog on health and fitness

Blog banner

Microsoft powerpoint presentation

Blog banner

Threats To Computer System

Blog banner

Royal enfield

Blog banner