wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Segmentation and paging concept

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

Principles of Concurrency

Blog banner

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

Blog banner

What is Email? Uses of Emails

Blog banner

Impact of social media on the human life

Blog banner

File management in os

Blog banner

Vulnerability Assessment (Vulnerability Analysis)

Blog banner

(Input/Output) in os

Blog banner

Top 5 Benefits of Artificial Intelligence

Blog banner

10 Signs your Computer has Virus

Blog banner

Beyond the Track: Why the Best Hotel in Arcadia, Florida, Completes Your IMSA Sebring Getaway

Blog banner

Data Security and Data Privacy in Data Science

Blog banner

Use case of K-means clustering

Blog banner

Safeguarding Your Data: The Importance of Wireless Encryption

Blog banner

Security in Operating Systems

Blog banner

Virtual memory in windows

Blog banner

Operating system

Blog banner

OS ASSIGNMENT

Blog banner

Full Disk Encryption

Blog banner

Deadlock in Operating System

Blog banner

IoT Architecture Based Security

Blog banner

Instagram Features in 2023 That Will Leave You Stunned!

Blog banner

Kernel in Operating System

Blog banner

IP Address

Blog banner

Security requirements for Safe E-Payments

Blog banner

Virtual machine and virtualizing

Blog banner

Vulnerability Assessment

Blog banner

Difference Between Classification And Clustering

Blog banner

Memory Management

Blog banner

Boxing

Blog banner

Benefits of Yoga

Blog banner

IT Service as as Value Creation

Blog banner

Atlantis - The Lost Island.........

Blog banner

Ghee vs. Coconut Oil vs. Mustard Oil: Which Cooking Fat Wins for Indian Food?

Blog banner

POVERTY:Causes and solutions to problems

Blog banner

Why Consistency in Eating Habits Matters and How Meal Maharaj Makes It Easy

Blog banner

Information Technology In E- Commerce

Blog banner

A-B-C of Networking: Part-2 (Components)

Blog banner

I Personally

Blog banner

Why Seasonal Summer Foods Are Best for Your Health?

Blog banner

Cherish the Craft — Essential Tips to Maintain Your Patola Collection

Blog banner

Are Social Media Paid Campaigns Worth It?

Blog banner

Memory Management

Blog banner