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 time ? The term which has astonished Scientists

Blog banner

From Procrastinator to Performer: How to Beat the Last-Minute Rush

Blog banner

Digital Marketing

Blog banner

The application udemy

Blog banner

Elegant fashion style

Blog banner

Outlook mail

Blog banner

Memory management

Blog banner

Network Forensics

Blog banner

Threat management

Blog banner

objectives and function of operating system

Blog banner

Full Disk Encryption on Digital Forensics

Blog banner

Digital marketing spotlight “Dove’s Real Beauty Campaign”

Blog banner

Multiple-Processor Scheduling in Operating System

Blog banner

What is Vishing?

Blog banner

Human Error: The weakest link in Cybersecurity

Blog banner

Uniprocessor Scheduling

Blog banner

MySQL

Blog banner

I/O Buffering

Blog banner

Direct Memory Access

Blog banner

The Role of Cyber Forensics in Criminology

Blog banner

Festive Ethnic Wear Guide: Patola-Inspired Looks for Every Celebration

Blog banner

Amazon

Blog banner

An Overview of Virtual Machines

Blog banner

Hosting basics

Blog banner

Dudhasagar waterfall ?

Blog banner

Importance of Network Security Risk

Blog banner

Guidelines for a Low sodium Diet.

Blog banner

IP Address

Blog banner

Skills An Ethical Hacker Must Have

Blog banner

Survey of Which Movies Types people are Prefer to Watch in India.

Blog banner

Memory hierarchy

Blog banner

ACHIEVEMENTS IN OPERATING SYSTEMS

Blog banner

Image Steganography: Hiding Secrets in Plain Sight

Blog banner

Self defence

Blog banner

Cloud Forensic Tools And Storage :A Review Paper

Blog banner

MENDELEY

Blog banner

Modern Operating system

Blog banner

MEMORY MANAGEMENT (techniques)

Blog banner

Game Theory in Blockchain

Blog banner

What is Segmentation?

Blog banner

Threading

Blog banner

Compromising Mobile Platforms

Blog banner