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

OS DESIGN CONSIDERATIONS FOR MULTIPROCESSOR

Blog banner

Multiprocessor

Blog banner

The Power of Forensic Watermarking in the Fight Against Content Piracy

Blog banner

Tea, Coffee, Red Wine, and Teeth: A Stain Survival Guide

Blog banner

Data Science in Mental Health Prediction

Blog banner

What are NFT s?

Blog banner

Deming’s Process

Blog banner

Understanding Input Based Keylogger Activation Systems: Risks and Mitigation

Blog banner

Life of an army person

Blog banner

Place to visit in pune

Blog banner

Best Time to Visit Arcadia, Florida & Why Oak Tree Hotel Is Always Ready

Blog banner

What is Network Security?

Blog banner

ARTICAL ON MANAGEMENT SYSTEM

Blog banner

MODERN OPERATING SYSTEMS

Blog banner

Data Mapping

Blog banner

TRELLO

Blog banner

About myself

Blog banner

Why is ITSM important in IT organization?

Blog banner

Modern operating system

Blog banner

Why Data Privacy Is Changing Online Advertising

Blog banner

Expert System In AI

Blog banner

MPL and how its effects?

Blog banner

Volatile Memory & Non-Volatile Memory Explained

Blog banner

Memory management

Blog banner

Instagram

Blog banner

Uniprocessor Scheduling

Blog banner

Evolution of Operating system

Blog banner

DEVELOPMENTS LEADING TO MODERN OPERATING SYSTEMS

Blog banner

DATA WRANGLING

Blog banner

Modern OS

Blog banner

Why am I never satisfied with my Life?

Blog banner

What is Minting & Mining

Blog banner

Business Intelligence v/s Big Data

Blog banner

MODERN OPERATING SYSTEM

Blog banner

A Brief Review on Cyber Forensics and its Analysis Tool

Blog banner

Memory management

Blog banner

Subnet Masking

Blog banner

Geographic Information Systems(By aditi Unnikrishnan)

Blog banner

Evolution of Operating system.

Blog banner

Design Considerations for Disk Cache Management

Blog banner

Save Environment

Blog banner

PHISHING

Blog banner