wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Starvation

profile
Omkar Bhube
Aug 15, 2024
0 Likes
0 Discussions
74 Reads

Starvation in operating systems (OS) occurs when a process is perpetually denied the necessary resources to proceed with its execution. This usually happens when a scheduling algorithm continuously favors other processes, leading to the affected process being delayed indefinitely. Starvation is often associated with priority-based scheduling, where lower-priority processes may never get CPU time because higher-priority processes keep taking precedence. To mitigate starvation, techniques like *aging* can be employed, where the priority of a waiting process is gradually increased over time to ensure it eventually gets the necessary resources.


Causes of Starvation:

Priority Scheduling: In priority-based systems, higher-priority processes can continuously preempt lower-priority ones, leading to the lower-priority processes never getting scheduled.Resource Contention: When multiple processes are competing for limited resources, a process might be continuously bypassed in favor of others, especially if the resource allocation is biased.Non-preemptive Scheduling: In systems where a process cannot be preempted once it starts, longer processes can monopolize the CPU, causing others to starve.


Solutions:

Aging: This is a common solution where the priority of a waiting process is gradually increased the longer it waits, ensuring that it will eventually be executed.Fair Scheduling

Algorithms: Some algorithms, like Round-Robin or Multilevel Queue Scheduling with time-sharing, are designed to minimize the chances of starvation by ensuring that all processes get some CPU time.Resource Allocation Policies: Implementing fair resource allocation policies can help in reducing contention and ensuring that all processes receive the resources they need in a timely manner.


Comments ()


Sign in

Read Next

Europe Through My Lens

Blog banner

EVOLUTION OF MICROPROCESSOR

Blog banner

Deadlock

Blog banner

Memory Management

Blog banner

Dekkers Algorithm : Ensuring Safe Process Synchronization

Blog banner

IoT Architecture Based Security

Blog banner

Apple

Blog banner

Culture Of Ladakh

Blog banner

How to use GIT & GITHUB

Blog banner

Review on Cyber Forensics and its Analysis Tools

Blog banner

6 Digital Marketing Trends You Must Watch Out For In 2022

Blog banner

ARTICLE ON WRIKE CORPORATION

Blog banner

From Model Mistakes to Metrics

Blog banner

Respondo Launches Revolutionary Video Discussion App

Blog banner

OPERATING SYSTEM

Blog banner

Mail merge

Blog banner

Virtual Memory

Blog banner

Service design process in ITSM

Blog banner

Data carving - using hex editor

Blog banner

Blockchain uses and use cases

Blog banner

DEVELOPMENTS LEADING TO MODERN OPERATING SYSTEMS

Blog banner

How College Events Build Real-world Skills You Can’t Learn From Textbooks

Blog banner

Virtual memory

Blog banner

Starvation and Deadlock.

Blog banner

Processes: Process Description and Control.

Blog banner

What is Network Security?

Blog banner

Uniprocessor scheduling

Blog banner

LinkedIn

Blog banner

Different memory allocation strategies

Blog banner

THE LEGAL ISSUES OF COMPUTER FORENSICS IN INDIA

Blog banner

Emotional Suppression: The Hidden Costs Of Unfelt Feelings

Blog banner

Incident management in ITSM

Blog banner

MUTUAL EXCLUSION

Blog banner

GIS Bharat Maps

Blog banner

differentiate thinking humanly and rationally

Blog banner

Exploring Human Factors in Cyber Forensics Investigations.

Blog banner

Fitness

Blog banner

Telegram and it's features

Blog banner

Modern Operating Systems.

Blog banner

Starting Android Activity Using Intent

Blog banner

Deadlocks

Blog banner

John Titor: The Time Traveler

Blog banner