wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Segmentation and paging concept

profile
Maitry Gala
Aug 13, 2024
0 Likes
0 Discussions
109 Reads

Segmentation and Paging in Operating Systems

Segmentation and paging are two fundamental techniques employed by operating systems to manage memory efficiently. While they share the common goal of optimizing memory utilization, they differ significantly in their approaches.

1.Segmentation

• Divides memory into variable-sized segments.

• Segments correspond to logical units: code, data, stack, heap, etc.

• Provides flexibility: Allows efficient allocation of memory based on program structure.

• Protection: Enables access control at the segment level.

• Sharing: Facilitates sharing of code and data segments among processes.

Example: A program might have separate segments for instructions, global variables, and local variables.

2.Paging

• Divides physical memory into fixed-sized blocks called pages.

• Divides processes into fixed-sized pages as well.

• Simplifies memory management: Treats memory as a uniform structure.

• Overcomes external fragmentation: Efficiently utilizes available memory.

• Enables virtual memory: Allows processes to use more memory than physically available.

Example: A process’s address space is divided into pages, which are mapped to physical frames in memory.

Maitry Gala-53003230041

Div A 

 

 

 

 


Comments ()


Sign in

Read Next

MENDELEY

Blog banner

Dancing Classes In Mumbai

Blog banner

PERSONAL STORIES

Blog banner

File sharing

Blog banner

My Favorite Country

Blog banner

Skills An Ethical Hacker Must Have

Blog banner

HR Automation : Need of the hour

Blog banner

Decrypting Cryptocurrency: Tracing Transactions in Cyber Investigations

Blog banner

Network Footprinting in Cybersecurity

Blog banner

The Importance of Eating on Time: How Meal Timing Affects Your Health

Blog banner

Vulnerabilities in OnePlus Devices

Blog banner

Deadlock and Starvation

Blog banner

Working with Sniffers for monitoring network communication

Blog banner

To travel is to live

Blog banner

From Airboat Tours to Fossil Hunting: The Ultimate Arcadia Travel Experience

Blog banner

Zomato (Income Sources)

Blog banner

BLOCKCHAIN MACHANISM

Blog banner

IP ADDRESS

Blog banner

Google classroom

Blog banner

?Why Does My Breath Still Smell After Brushing?

Blog banner

Race condition

Blog banner

Things You Should Leave Behind In 2025, Whilst In 2026

Blog banner

Daycare Centres Help Children Transition into Structured Learning

Blog banner

IT security management

Blog banner

Virtual Memory

Blog banner

Capacity management in ITSM

Blog banner

Dr. Venkadavarahan

Blog banner

A Tourist’s Guide To Florida’s Rodeo Culture: What To Expect At The Arcadia Championship Rodeo

Blog banner

Solving Problems with AI: The Power of Search Algorithms

Blog banner

Social Network Analysis: Ek Naya Nazariya Data Science Mein

Blog banner

RAID_142

Blog banner

Drawing tips for a beginner

Blog banner

Facebook marketing

Blog banner

Memory Management

Blog banner

MAJOR ACHIEVEMENTS OF OS

Blog banner

Krishna Rao SAP ID--53003230076

Blog banner

IT RISK

Blog banner

Cache Memory

Blog banner

ROLE OF THE COMPUTER FORENSICS TOOLS AND TECHNIQUES

Blog banner

E-commerce

Blog banner

Impact of social media on the human life

Blog banner

Interrupts - Types, Working & Importance

Blog banner