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

Wiretapping

Blog banner

History of ITIL

Blog banner

Fashion marketing in india

Blog banner

NodeJs

Blog banner

Process Description

Blog banner

Raid

Blog banner

Broken Authentication Attacks

Blog banner

Bitcoin sent using radio waves! No internet!

Blog banner

Security requirements for Safe E-Payments

Blog banner

Multiple processor scheduling

Blog banner

Vikrant’s first blog

Blog banner

Distributed Denial of Service (DDoS) attack

Blog banner

The khan mehtab transforming the modular switches company

Blog banner

MORDERN UNIX SYSTEM

Blog banner

Development Of Modern Operating System

Blog banner

Multicore CPUs

Blog banner

Understanding Endometriosis and Its Psychological Impact on Quality of Life

Blog banner

Financial Fraud Detection

Blog banner

TRIGGERS IN DATABASE

Blog banner

OPERATING SYSTEM

Blog banner

FRIENDSHIP

Blog banner

Deadlock

Blog banner

HR Automation : Need of the hour

Blog banner

BLOCKCHAIN MACHANISM

Blog banner

Memory Management in Operating System

Blog banner

What are Virtual Machines

Blog banner

New Horizon Europe project ‘EvoLand’ sets off to develop new prototype services.

Blog banner

USES OF WHATSAPP

Blog banner

A small world of Sockets

Blog banner

Python as a tool for Data science task & project

Blog banner

Is Brushing After Eating Damaging Your Teeth? (Fact or Myth)

Blog banner

Game Theory in Blockchain

Blog banner

Use case of K-means clustering

Blog banner

SECURITY RISKS OF REMOTE WORKING

Blog banner

Operating system evolution

Blog banner

Types Of Interrupt

Blog banner

Diwali

Blog banner

Computer Security

Blog banner

Race condition

Blog banner

How Reading Books Shape a Child’s Imagination and Thinking?

Blog banner

I Personally

Blog banner

Access management

Blog banner