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 Virtual Memory

Blog banner

A-B-C of Networking: Part-1 (Basics)

Blog banner

What Function Does SEO Serve in Digital Marketing?

Blog banner

How Puppet Shows and Role Play Teach Empathy to Preschoolers

Blog banner

How Cyber Forensics use in AI

Blog banner

Real time scheduling

Blog banner

E-Governance

Blog banner

Different Types of Data

Blog banner

Benefits and drawback of web security.

Blog banner

Electronic Funds Transfer

Blog banner

GOOGLE

Blog banner

How To Setup DVWA Using XAMPP on Windows

Blog banner

OPERATING SYSTEM

Blog banner

Exploring Human Factors in Cyber Forensics Investigations.

Blog banner

OS- Assignnment 1

Blog banner

COMPUTER FORENSICS AND GRAPHICS

Blog banner

IOT- Internet Of Things

Blog banner

Some facts about Technology

Blog banner

How to grow followers on Instagram business account?

Blog banner

A Weekend at Oak Tree Hotel: The Best Hotel Experience in Arcadia, Florida

Blog banner

Malware

Blog banner

Method of Evaluating Information Security Level in an Organization

Blog banner

Cache memory

Blog banner

What is Virtual Memory

Blog banner

10 Interesting Facts about Attack on Titan

Blog banner

1 Dentist in Maroubra, Sydney and her 10 obsessions

Blog banner

Balance

Blog banner

Routers

Blog banner

How to Plan a Week of Healthy Meals Without Stress

Blog banner

Beyond the Track: Why the Best Hotel in Arcadia, Florida, Completes Your IMSA Sebring Getaway

Blog banner

Measuring IT Risk

Blog banner

Types Of scheduling

Blog banner

Article on Team Work

Blog banner

Simple Ways of Avoiding Basic Mistakes in Smart Phone Security

Blog banner

MailChimp

Blog banner

Why Are So Many Adults Getting Diagnosed with ADHD?

Blog banner

The Role of Cyber Forensics in Addressing Cyber security Challenges in Smart Cities

Blog banner

How to use GIT & GITHUB

Blog banner

?What Your Dentist Notices The Moment You Sit In The Chair

Blog banner

Cache memory

Blog banner

Why Mumbai Professionals Are Switching Back to Home-Style Tiffin Meals

Blog banner

Disk Scheduling

Blog banner