wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Segmentation and paging concept

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

virtual machine

Blog banner

Virtual memory

Blog banner

Understanding Input Based Keylogger Activation Systems: Risks and Mitigation

Blog banner

How Sleep Impacts Learning and Behaviour for Toddlers?

Blog banner

Direct memory access (DMA)

Blog banner

How User Data Shapes Personalised Campaigns

Blog banner

Synchronization

Blog banner

Blockchain

Blog banner

The Features of Blockchain

Blog banner

Loneliness

Blog banner

Technical Challenges and Directions for Digital Forensics

Blog banner

OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

Blog banner

Memory management and virtual memory

Blog banner

How to Find the Right Therapist For Me?

Blog banner

INSTAGRAM

Blog banner

ProofHub

Blog banner

SNAPCHAT

Blog banner

Social Media Marketing Trends 2022

Blog banner

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

Blog banner

Deadlock and Starvation

Blog banner

SQL Injection

Blog banner

Health and fitness in technology

Blog banner

From Model Mistakes to Metrics

Blog banner

Importance of Education

Blog banner

How to use GIT & GITHUB

Blog banner

How Does SSO Works

Blog banner

Interrupts in OS

Blog banner

OPERATING SYSTEM

Blog banner

Linux 94

Blog banner

Gamer life

Blog banner

Defining youtubr

Blog banner

RAID_142

Blog banner

Booting Process In Operating System

Blog banner

Hacking of web server and application

Blog banner

Goa Trip With Friends

Blog banner

c

Blog banner

Types of Hackers

Blog banner

Trends that began during the pandemic

Blog banner

Brain wash of social media

Blog banner

Water Resources are about to exhaust...

Blog banner

An Overivew Of Cache Memory

Blog banner

Things You Should Leave Behind In 2025, Whilst In 2026

Blog banner