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

Deadlock

Blog banner

?Why Social and Emotional Skills Matter More Than ABCs in Early Years?

Blog banner

Navigation With Indian Constellation(NavIC) by ISRO in Geographic Information Systems

Blog banner

Importance of internet

Blog banner

american greatines

Blog banner

Sage business cloud accounting

Blog banner

How social media affect

Blog banner

Race Condition

Blog banner

Retiring ISS

Blog banner

SPAM

Blog banner

operating system

Blog banner

E-commerce

Blog banner

Im Photographer

Blog banner

Memory input output management

Blog banner

Evolution of Operating Systems

Blog banner

Disk scheduling

Blog banner

Principles of Service Operation

Blog banner

Security and E-mail

Blog banner

Linux Memory Management

Blog banner

TECHNOLOGY : BOON OR CURSE ?

Blog banner

How Does SSO Works

Blog banner

Modern Operating System

Blog banner

Concept and definition of m-commerce

Blog banner

Network Forensics Tools and Techniques

Blog banner

Cloud Technology and its Implications for Entrepreneurship

Blog banner

Data is an asset and it is your responsibility!

Blog banner

Direct Memory Access

Blog banner

RAID_142

Blog banner

Types of threads

Blog banner

Understanding Business Layer in Data Science

Blog banner

ADD A SPICE TO YOUR LIFE.

Blog banner

Types of E-Commerce

Blog banner

Raising Emotionally Intelligent Students: The Classroom Beyond Academics

Blog banner

Direct Memory Access

Blog banner

Traditional UNIX Scheduling

Blog banner

Cache memory

Blog banner

Social engineering in cyber security

Blog banner

Operation system

Blog banner

Different memory allocation strategies

Blog banner

MEMORY HIERARCHY

Blog banner

Types of Big Data

Blog banner

Memory Management

Blog banner