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

Tea, Coffee, Red Wine, and Teeth: A Stain Survival Guide

Blog banner

How GIS in Agriculture Eliminates Guesswork

Blog banner

LEMON PICKLE SWEET AND MILD HOT

Blog banner

Is it important to follow all the trends that come up on social media?

Blog banner

Privacy in Social Media and Online Services

Blog banner

Why Should You Schedule Tweets on Twitter?

Blog banner

ONLINE NEWSROOMS

Blog banner

Threads

Blog banner

Footprinting

Blog banner

Jira service Management

Blog banner

Dekkers Algorithm : Ensuring Safe Process Synchronization

Blog banner

I/O Buffering

Blog banner

How to Run your First android App

Blog banner

Interrupts in operating system.

Blog banner

My Favorite Sportsperson

Blog banner

Virtual Memory

Blog banner

operating system

Blog banner

Deadlock and Starvation

Blog banner

Creating Digitally Signed Document

Blog banner

Short note on expert system

Blog banner

Danger assessment in GIS

Blog banner

What is process

Blog banner

Understanding Input Based Keylogger Activation Systems: Risks and Mitigation

Blog banner

Next time you click on "Remind me later", think twice!

Blog banner

Deadlock and Starvation

Blog banner

Understanding Univariate, Bivariate, and Multivariate Analysis in Data Science

Blog banner

The khan mehtab transforming the modular switches company

Blog banner

OS Assignment 3

Blog banner

Session Hijacking

Blog banner

Disk scheduling

Blog banner

Big Data Architecture

Blog banner

BrainGate Technology

Blog banner

Theads

Blog banner

DATA VAULT

Blog banner

Sniffing: A Cyber Security Threat

Blog banner

Beauty of indian railway

Blog banner

File Sharing

Blog banner

VIRUS

Blog banner

ADD A SPICE TO YOUR LIFE.

Blog banner

STARVATION

Blog banner

CONCURRENCY: MUTUAL EXCLUSION AND SYNCHRONIZATION-het karia

Blog banner

Cloud Computing

Blog banner