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

Decoding the Weave — How to Identify Original Patola Art on a Fabric

Blog banner

Virtual memory

Blog banner

BrainGate Technology

Blog banner

Proton mail

Blog banner

Note on Process, Process creation and Process termination

Blog banner

Indian Culture and Tradition

Blog banner

Is Your Password Complex Enough?

Blog banner

Virtual Machine

Blog banner

Compromising Mobile Platforms

Blog banner

Memory heirachy (Operating system)

Blog banner

Internet of Things

Blog banner

Payment Card Industry - Data Security Standard PCI-DSS compliance for online banking applications

Blog banner

What Makes Patola the Queen of Silk?

Blog banner

MAJOR ACHIEVEMENTS OF OS

Blog banner

Security Breaches in Stock market trading

Blog banner

Volatile Memory & Non-Volatile Memory Explained

Blog banner

Deadlock and Starvation

Blog banner

Importance Of Time

Blog banner

Zoho

Blog banner

Hello World

Blog banner

Deadlock

Blog banner

Malware Detection Techniques for Mobile Devices

Blog banner

Routers

Blog banner

Understanding E-mail Servers

Blog banner

OPERATING SYSTEM

Blog banner

Importance of business process documentation

Blog banner

Difference Between Classification And Clustering

Blog banner

PYTHON

Blog banner

Privacy LAWs in IT

Blog banner

How to tie a Tie

Blog banner

Big O Notation

Blog banner

OS ASSIGNMENT

Blog banner

E-Cash (Electronic Cash)

Blog banner

Getting into anime My anime suggestions

Blog banner

Concurrency and Deadlocks

Blog banner

Apache Kafka

Blog banner

DATA WRANGLING

Blog banner

5 Common Faults In Construction Tenders

Blog banner

The “High” of ‘likes’, ‘follows’, and ‘views’ – and how I decided to respond to them myself.

Blog banner

What if COVID does not exist!

Blog banner

Why Mumbai Professionals Are Switching Back to Home-Style Tiffin Meals

Blog banner

15 Interesting Facts about India

Blog banner