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

'C', 'C++' and 'Java': Head-to-Head

Blog banner

Delhi city

Blog banner

What is Vishing?

Blog banner

VIRTUAL MACHINE

Blog banner

From Model Mistakes to Metrics

Blog banner

evolution of operating system - Disha Parekh

Blog banner

Modern operating system

Blog banner

" THE ANSWERS THAT LED INDIAN BEAUTIES TO THE MISS UNIVERSE HISTORIC WIN. "

Blog banner

A Brief Review on Cyber Forensics and its Analysis Tool

Blog banner

EdTech (Education Technology)

Blog banner

Article on team management software

Blog banner

Top 4 Places To Stay In Copenhagen

Blog banner

Virtual memory

Blog banner

BITCOIN WALLET

Blog banner

Defining youtubr

Blog banner

Introduction to Data Science: Life Cycle & Applications

Blog banner

Raid

Blog banner

10 Types of Friends in every friend group

Blog banner

15 Interesting Facts about India

Blog banner

THE LEGAL ISSUES OF COMPUTER FORENSICS IN INDIA

Blog banner

Modern OS

Blog banner

What if COVID does not exist!

Blog banner

Objectives and Functions of Operating System

Blog banner

Theads

Blog banner

PYTHON

Blog banner

Functions of operating system

Blog banner

K-means use cases

Blog banner

Travelling blog

Blog banner

Palm Vein Biometric Technology; Contactless vein authentication

Blog banner

Deadlock in operating system

Blog banner

Understanding Business Layer in Data Science

Blog banner

File management In Operating System

Blog banner

Travel: Everything Everywhere!

Blog banner

Top 3 Places To Stay In Vienna

Blog banner

Virtual Memory

Blog banner

Types of Hackers

Blog banner

MODERN OPERATING SYSTEM

Blog banner

OS Evolution Achievements

Blog banner

Outlook mail

Blog banner

Internet of Things

Blog banner

Social Engineering

Blog banner

Security Breaches in Stock market trading

Blog banner