wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Starvation

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

Hosting basics

Blog banner

Race Condition in Operating Theatre

Blog banner

Virtual memory in os

Blog banner

Tracking Emails & Email Crimes

Blog banner

INDIAN CHEAPEST COSMETICS BRAND

Blog banner

Social Engineering Attacks

Blog banner

MySQL

Blog banner

The Real Reason Patola Outfits Come at a Premium Cost

Blog banner

Smartsheet

Blog banner

Deadlock

Blog banner

Evolution of Operating Systems

Blog banner

WINDOWS I/ O

Blog banner

Chicken Dum Biryani

Blog banner

Dove’s Real Beauty Campaign- Case Study

Blog banner

What is process

Blog banner

Memory Management

Blog banner

BITCOIN WALLET

Blog banner

Network Security Risks

Blog banner

What is Network Security?

Blog banner

Risk mitigation and management

Blog banner

What is metaverse?

Blog banner

Analysis of Digital Evidence In Identity Theft Investigations

Blog banner

Python as a tool for Data science task & project

Blog banner

Hacking of web server and application

Blog banner

Importance Of Blockchain

Blog banner

Strengthening Active Directory Security

Blog banner

Deming’s Process

Blog banner

Android Flashlight Application

Blog banner

Operating system

Blog banner

Computer Forensics and its Impact in Business Environment

Blog banner

Telegram and it's features

Blog banner

My Favorite Sportsperson

Blog banner

Linux 94

Blog banner

Pro-Tips On How To Keep your Foot Healthy

Blog banner

You'll get to know about Pankaj Negi

Blog banner

Odoo

Blog banner

The House ??of Patola Designs: Traditional Weaves with a Modern Twist

Blog banner

Modern Operating System

Blog banner

Modern Operating System - Khush bagaria

Blog banner

DEVELOPMENTS LEADING TO MODERN OPERATING SYSTEMS

Blog banner

Fashion marketing in india

Blog banner

Data-Driven Prediction of Virtual Item Prices in Online Games

Blog banner