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 Memory - Explaination, Working, Steps

Blog banner

child Labour

Blog banner

Virtual memory in windows

Blog banner

Direct Memory Access

Blog banner

SQL Injection

Blog banner

Importance of business process documentation

Blog banner

MYNTRA

Blog banner

10 Interesting facts you should know!!!

Blog banner

URL vs Domain

Blog banner

How to Run your First android App

Blog banner

Mumbai Metro 3

Blog banner

Apache Kafka

Blog banner

Street foods

Blog banner

All you need to know about Cassandra

Blog banner

Affiliate Marketing V/S Influencer Marketing

Blog banner

Travelling blog

Blog banner

TEAMWORK

Blog banner

Full Disk Encryption on Digital Forensics

Blog banner

Deadlock

Blog banner

Tableau

Blog banner

The Power of Forensic Watermarking in the Fight Against Content Piracy

Blog banner

semaphores

Blog banner

Race Condition in Operating Theatre

Blog banner

Virtual Machine

Blog banner

Puri Jagannath temple

Blog banner

Real Time Scheduling

Blog banner

VIRTUAL MACHINE

Blog banner

Festive Ethnic Wear Guide: Patola-Inspired Looks for Every Celebration

Blog banner

SNAPCHAT

Blog banner

Modern operating system

Blog banner

VIRTUAL MEMORY

Blog banner

Operating system and overviews

Blog banner

Uniprocessor Scheduling

Blog banner

Making Money through Instagram

Blog banner

Tomato Butter Sauce with Bucatini

Blog banner

Paralysis/Paralysis Stroke

Blog banner

Apple

Blog banner

What is OS and its overview

Blog banner

Vulnerability Assessment (Vulnerability Analysis)

Blog banner

memory managment

Blog banner

Social Engineering Deceptions and Defenses

Blog banner

Ola

Blog banner