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

Tableau

Blog banner

Virtual Machine

Blog banner

Service stratergy principles

Blog banner

Importance of internet

Blog banner

What is OS Fingerprinting?

Blog banner

Data Warehousing

Blog banner

Nature’s Brush on Silk: The Secret Behind Patola Colours

Blog banner

Sleep Disorder: The Silent Link Between Sleep and Mental Health

Blog banner

Cyber Security Standards

Blog banner

Diwali

Blog banner

Social Media Marketing Trends 2022

Blog banner

I/O Management and Disk Scheduling

Blog banner

ADIDAS

Blog banner

How Industrial Gratings Improve Safety, Drainage, and Workplace Efficiency?

Blog banner

Coping with Diagnosis Shock

Blog banner

Deadlock

Blog banner

IoT Architecture Based Security

Blog banner

Know your Processors!

Blog banner

Evolution of Operating system.

Blog banner

Making Money through Instagram

Blog banner

Data Security must be your Priority!

Blog banner

virtual machine

Blog banner

Disk scheduling

Blog banner

Top 5 Places To Stay And Visit In Berlin, Germany

Blog banner

Earth with no trees

Blog banner

Rules and Regulations of Networking: "Standards and Protocols" - Part 1

Blog banner

The Art of Slow Fashion: Why Patola Defines Sustainable Luxury

Blog banner

Data Science in Predictive Analytics: Transforming Business Decision-Making

Blog banner

Electronic Funds Transfer

Blog banner

File management

Blog banner

How User Data Shapes Personalised Campaigns

Blog banner

The Secure Software Development Life Cycle (SDLC)

Blog banner

File Management system

Blog banner

How to insert contacts in zoho crm using php

Blog banner

JUSTICE FOR EVERY “BEZUBAAN ANIMAL”

Blog banner

Buffer Overflow

Blog banner

Environmental Management using GIS

Blog banner

BENIFITS OF YOGA

Blog banner

Building Confidence in Children Through Daily Routines and Play

Blog banner

Memory Management in Operating System

Blog banner

Is Brushing After Eating Damaging Your Teeth? (Fact or Myth)

Blog banner

PPC Advertising and its Impressive Benefits

Blog banner