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

The Role of Fibre in Everyday Nutrition and Digestive Health

Blog banner

The Art Of Getting What You Want In Life....

Blog banner

Anomaly Detection in Behavioral Data Using Machine Learning

Blog banner

How to setup a professional looking business account on Instagram?

Blog banner

Security issues

Blog banner

Cross site scripting Attack

Blog banner

What is Packet Filtering?

Blog banner

Data is an asset and it is your responsibility!

Blog banner

Importance of modern technology era

Blog banner

EID UL FITR

Blog banner

Fashion marketing in india

Blog banner

Zero Trust Security Model: Revolutionizing Cybersecurity in the Digital Age

Blog banner

Electronic Evidence in Cyber Forensics

Blog banner

Types of E-Commerce

Blog banner

TRIGGERS IN DATABASE

Blog banner

Rules and Regulations of Networking: "Standards and Protocols" - Part 1

Blog banner

CyberSecurity Color Wheel

Blog banner

To travel is to live

Blog banner

Random Forests

Blog banner

Operating system evolution

Blog banner

M commerce

Blog banner

Security Issues and Countermeasures

Blog banner

Decision Tree: A Diagram Model

Blog banner

Threat management

Blog banner

Uber

Blog banner

How Reading Books Shape a Child’s Imagination and Thinking?

Blog banner

Modern operating system

Blog banner

RAID

Blog banner

AI & Data Science in Healthcare – Predicting diseases, medical imaging analysis

Blog banner

This is my first blog.

Blog banner

Meshoo

Blog banner

MEMORY MANAGEMENT FILE

Blog banner

Why Travellers from Miami & Orlando Are Visiting Arcadia for Weekend Getaways?

Blog banner

Your Guide to Great Flossing, by the best affordable dentist in Maroubra

Blog banner

Telegram and it's features

Blog banner

THREADS (assignment 1)

Blog banner

Sniffing: A Cyber Security Threat

Blog banner

The khan mehtab transforming the modular switches company

Blog banner

MODERN OPERATING SYSTEMS

Blog banner

Data Lake

Blog banner

Fitness

Blog banner

How GIS in Agriculture Eliminates Guesswork

Blog banner