wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Segmentation and paging concept

profile
Maitry Gala
Aug 13, 2024
0 Likes
0 Discussions
117 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

The Role of Cyber Forensics in Criminology

Blog banner

Breaking the Cycle of Loneliness : Protecting your Mental Health Through meaningful Connection ( Part — 2)

Blog banner

PERSONAL STORIES

Blog banner

MEMORY MANAGEMENT (techniques)

Blog banner

Body Image and Low Self Esteem: Understanding the Emotional Impact Beyond Appearance

Blog banner

Traditional UNIX Scheduling

Blog banner

Zero-Click Searches: How To Stay Visible In Google’s New Era

Blog banner

Can a Water Flosser Replace Manual Flossing? Here’s What Dentists Say

Blog banner

Key to success in Sports

Blog banner

Advanced Persistent Threats (APTs)

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Processes: Process Description and Control.

Blog banner

Global versus Indian Mental Health Differences

Blog banner

Cloud Computing: Threats and Vulnerabilities

Blog banner

The Essential Guide to Dynamic Arrays vs. Linked Lists: Which to Use and When ?

Blog banner

Friendship

Blog banner

Virtual Machine

Blog banner

Evolution of OS

Blog banner

Online Games

Blog banner

BITCOIN WALLET

Blog banner

Memory Management in an Operating System

Blog banner

Data Security must be your Priority!

Blog banner

Southern Turkey Earthquake: Causes and Consequences of a Tragic Natural Disaster

Blog banner

Liquid Gold for Your Hair and Skin: Why Pure Kalonji (Black Seed) and Coconut Oils Belong in Your Daily Beauty Ritual

Blog banner

Analysis of Digital Evidence In Identity Theft Investigations

Blog banner

Disk scheduling

Blog banner

Uniprocessor scheduling

Blog banner

Deadlock in operating system

Blog banner

Technological Advancement

Blog banner

Understanding Suicidal Thoughts and Self-Harm: Recognising the Signs and Finding Hope

Blog banner

Deadlock and starvation

Blog banner

Workplace mental health: A Psychological Perspective on Employee Well-being and Organizational Growth

Blog banner

Exploring Human Factors in Cyber Forensics Investigations.

Blog banner

IP Address

Blog banner

10 Unknown facts about India's Independence

Blog banner

Photorec - media recovery tool

Blog banner

Know your Processors!

Blog banner

Memory Management Techniques

Blog banner

Introduction to GIS

Blog banner

Deadlock

Blog banner

Hacking of web server and application

Blog banner

About myself

Blog banner