wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Segmentation and paging concept

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

Disk scheduling

Blog banner

Types of Threads

Blog banner

Data Visualization in Decision-Making

Blog banner

Memory Management Techniques

Blog banner

Finding Meaning, and Identity : Understanding Existential Concerns and Mental Well-being

Blog banner

Deadlock

Blog banner

Operating System Objectives and Functions

Blog banner

'C', 'C++' and 'Java': Head-to-Head

Blog banner

Mumbai local ......

Blog banner

Raid

Blog banner

Security requirements for Safe E-Payments

Blog banner

Understanding Endometriosis and Its Psychological Impact on Quality of Life

Blog banner

Healthy Indian Comfort Foods That Are Both Nutritious and Delicious

Blog banner

BEAUTY IS IN THE EYE OF THE BEHOLDER

Blog banner

Rapido

Blog banner

City of Mumbai (Bombay):

Blog banner

Banaras

Blog banner

Monday. com App

Blog banner

The Memory Hierarchy

Blog banner

Student Grade Calculator in LISP

Blog banner

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

Blog banner

Design Considerations for Disk Cache Management

Blog banner

Scheduling

Blog banner

Modern Operating System - Khush Bagaria

Blog banner

Apache Spark :- Powerful Data Processing Tool

Blog banner

The Sunny Side of Instagram

Blog banner

Network Forensics Tools and Techniques

Blog banner

SPEM

Blog banner

Vulnerability Assessment

Blog banner

Virtual memory

Blog banner

Elements and Principles of Photography

Blog banner

?Why Social and Emotional Skills Matter More Than ABCs in Early Years?

Blog banner

Virtual Machine

Blog banner

Functions of Operating System

Blog banner

The Role of cryptography in cyber security

Blog banner

RSA (Rivest-Shamir-Adelman) Algorithm

Blog banner

Ola

Blog banner

How Cyber Forensics help prevent Crimes

Blog banner

Autonomy Vehicles: Future Ki Gadiya

Blog banner

BharatPe

Blog banner

The Art of Slow Fashion: Why Patola Defines Sustainable Luxury

Blog banner

GIS in Disaster Management

Blog banner