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

What Makes Patola the Queen of Silk?

Blog banner

Cache Memory in Operating Systems

Blog banner

Top Career Paths After a B.Com Degree in Mumbai: What’s Next for You?

Blog banner

Operating system

Blog banner

How to make Pancakes

Blog banner

Corporate Discipline.

Blog banner

How HRMS, Task Management, and Team Chats Can Improve Workplace Productivity

Blog banner

Types of Malware in Cyber Security

Blog banner

Cache memory

Blog banner

Precision-Recall in Data Science

Blog banner

Why You Should Not Use Free VPNs

Blog banner

COMPUTER FORENSICS AND GRAPHICS

Blog banner

BENIFITS OF YOGA

Blog banner

How Industrial Gratings Improve Safety, Drainage, and Workplace Efficiency?

Blog banner

Advanced Persistent Threats (APTs)

Blog banner

Overcoming the bedtime brushing Battle with Dr. Roxanne Irani, Dentist in Maroubra

Blog banner

How storytelling Is Becoming the Secret Weapon of Modern Brands?

Blog banner

THE DESIRE OF MANY

Blog banner

What is semaphore in operating system?

Blog banner

Hot Mango Pickle (Methiyu)

Blog banner

Admissions Open: Why This Is the Right Time to Choose the Best School for Your Child

Blog banner

Study on cyber and network forensic in computer security management

Blog banner

Blockchain uses and use cases

Blog banner

Women’s Mental Health (After Marriage)

Blog banner

Uniprocessor Scheduling

Blog banner

Virtual machine.

Blog banner

Krishna Rao SAP ID--53003230076

Blog banner

The Best Photography Spots in and Around Arcadia, Florida

Blog banner

Threading

Blog banner

Supervised and unsupervised learning

Blog banner

RAID

Blog banner

Preparing Students for Higher Education: How International Schools Shape Future Success

Blog banner

(Input/Output) in os

Blog banner

Bitcoin sent using radio waves! No internet!

Blog banner

Save Environment

Blog banner

Memory management

Blog banner

Importance of Education

Blog banner

Automating OSINT tasks for efficient Cyber Forensics Investigations

Blog banner

OS PROCESS DESCRIPTION AND CONTROL-SARVAGYA JALAN

Blog banner

Why Every Preschooler Learns at Their Own Pace?

Blog banner

Child labour

Blog banner

OS Evolution Achievements

Blog banner