wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Segmentation and paging concept

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

Memory management

Blog banner

Four Stalls Every Vegetarian Needs To Eat At Outside Vile Parle Station

Blog banner

The Memory Hierarchy

Blog banner

Operating system evolution

Blog banner

Memory management

Blog banner

Evolution of Operating system.

Blog banner

Expert System In AI

Blog banner

Natural Language Processing(NLP)

Blog banner

Buffer overflow

Blog banner

GEOLOGY AND GEO-TECTONIC FRAME WORK OF WESTERN BASTAR CRATON

Blog banner

Privacy-Enhancing Computation Techniques

Blog banner

Starvation

Blog banner

MAILFENCE

Blog banner

LIMITED EDITION

Blog banner

BEAUTY IS IN THE EYE OF THE BEHOLDER

Blog banner

Operating system

Blog banner

Socket Programming in Java

Blog banner

Internet: The Vast Ocean Of Knowledge.

Blog banner

Linux -V Server Virtual Machine

Blog banner

Geographic Information Systems(By aditi Unnikrishnan)

Blog banner

Topic: Sessions in Operating system

Blog banner

Evolution of operating system

Blog banner

GIS in Mapping and landslide alert in Bangladesh

Blog banner

Exploring Arcadia’s Cowboy Culture, Peace River & Hidden Attractions

Blog banner

What if COVID does not exist!

Blog banner

The Joy of Giving: How Festivals Teach Children Empathy and Gratitude

Blog banner

Visualization in Data Science

Blog banner

Virtual Memory

Blog banner

Preparing Students for Higher Education: How International Schools Shape Future Success

Blog banner

How To Invest in Indian Stock Market For Beginners. ~ Tutorial 2 (NSDL And CSDL) Continued...

Blog banner

What is Spyware?

Blog banner

computer security

Blog banner

CONCURRENCY

Blog banner

memory management

Blog banner

Security and E-mail

Blog banner

Data Visualization

Blog banner

Operating System

Blog banner

INTERNET SECURITY

Blog banner

Understanding E-mail Servers

Blog banner

Emotional Intelligence in Children: Why It Is as Important as Academics

Blog banner

The most common internet security threats

Blog banner

Safe Learning Spaces: Why Preschool Environment Matters More Than Ever Today

Blog banner