wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Starvation

profile
Omkar Bhube
Aug 15, 2024
0 Likes
0 Discussions
81 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

Hubspot

Blog banner

Sleep Disorder: The Silent Link Between Sleep and Mental Health

Blog banner

Mariana Trench: The deepest depths

Blog banner

Building Confidence in Children Through Daily Routines and Play

Blog banner

HR Automation : Need of the hour

Blog banner

Introduction to GIS

Blog banner

Philadelphia Experiment : Was it real?

Blog banner

"Geographic Information Systems (GIS) and its Applications in Urban Planning"

Blog banner

DMZ: Your Secret Weapon for Data Security

Blog banner

Explain DBMS in Brief

Blog banner

What is Internet

Blog banner

Number Guessing game --lisp

Blog banner

From Loom to Luxury: How Patola Elevates Modern Wardrobes

Blog banner

Practical Implementation of Client Server model using TCP/IP.

Blog banner

Yahoo! mail

Blog banner

Evolution of the Microprocesor

Blog banner

How chatGPT Is Changing SEO: What Every Business Needs to Know in 2026

Blog banner

MODERN OPERATING SYSTEM

Blog banner

LinkedIn

Blog banner

K-means use cases

Blog banner

IO Buffers

Blog banner

Blockchain technology: security risk and prevention

Blog banner

Life of an army person

Blog banner

Privacy in Social Media and Online Services

Blog banner

It's all about our Brain.- The Brain Metaphor

Blog banner

Tracking Emails & Email Crimes

Blog banner

Operating Systems

Blog banner

Virtual Machine

Blog banner

ADIDAS

Blog banner

Cache Memory

Blog banner

Modern Operating System - Khush bagaria

Blog banner

MIDDLE CLASS MELODIES!!

Blog banner

Data Science in Predictive Analytics: Transforming Business Decision-Making

Blog banner

MODERN OPERATING SYSTEM

Blog banner

TRAIN TRAVELING

Blog banner

Teamwork

Blog banner

Krishna Rao SAP ID--53003230076

Blog banner

Oracle Corporation

Blog banner

Jira Software

Blog banner

Ubiquitous Computing

Blog banner

How To Setup DVWA Using XAMPP on Windows

Blog banner

New Horizon Europe project ‘EvoLand’ sets off to develop new prototype services.

Blog banner