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

What is Spyware? and examples of them.

Blog banner

Cyber-crime Investigation and Future Directions

Blog banner

Disk Management

Blog banner

EID UL FITR

Blog banner

What is online marketing and why do you need to know about it ?

Blog banner

Virtual Machine's

Blog banner

Sleep Matters: The Science Behind Toddler Naps

Blog banner

IoT Architecture Based Security

Blog banner

OS DESIGN CONSIDERATIONS FOR MULTIPROCESSOR

Blog banner

FRIENDSHIP

Blog banner

10 Reasons Why Guy BestFriends are the Must in Every Girl's Life

Blog banner

Privacy in Social Media and Online Services

Blog banner

OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

Blog banner

Deadlock Prevention

Blog banner

Monday. com App

Blog banner

Memory management

Blog banner

Cryptanalysis tool

Blog banner

Love is in air.....

Blog banner

Data Visualization

Blog banner

Deadlock

Blog banner

Article on IT development trends

Blog banner

Next time you click on "Remind me later", think twice!

Blog banner

Points to consider if you're planning to visit Florida in 2026

Blog banner

Memory heirachy (Operating system)

Blog banner

Everything You Need for a Perfect Stay in Arcadia, Florida, USA.

Blog banner

Segmentation and paging concept

Blog banner

Solving Problems with AI: The Power of Search Algorithms

Blog banner

5 Stages of Digital Marketing

Blog banner

What Are Electro-Forged Gratings? Benefits, Applications, and Why Industries Prefer Them

Blog banner

10 Unknown facts about India's Independence

Blog banner

Service Strategy principles

Blog banner

BIRYANI ! The history you never knew about

Blog banner

Starting Android Activity Using Intent

Blog banner

TRELLO

Blog banner

Travel: Everything Everywhere!

Blog banner

Not anti-social, but pro-solitude

Blog banner

Constrains in service design

Blog banner

HR Automation : Need of the hour

Blog banner

Regression Analysis

Blog banner

Modern Teaching Methods: Why Inquiry-based & Experiential Learning Works Best

Blog banner

Fault Tolerance

Blog banner

Software

Blog banner