wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Starvation

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

Importance of internet

Blog banner

BITCOIN WALLET

Blog banner

Note on Process, Process creation and Process termination

Blog banner

MOVEMBER

Blog banner

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

Blog banner

MULTITHREADING:ENHANCEING PERFORMANCE AND EFFICIENCY IN COMPUTING

Blog banner

Getting started with Android Studio

Blog banner

Protect yourself from System Hacking with these Simple Steps

Blog banner

File management

Blog banner

Life of an army person

Blog banner

Modern Operating System

Blog banner

OPERATING SYSTEM

Blog banner

Deadlock in operating system

Blog banner

Mumbai Metro 3

Blog banner

evolution of operating system - Disha Parekh

Blog banner

DMZ: Your Secret Weapon for Data Security

Blog banner

Top 5 Benefits of Artificial Intelligence

Blog banner

PPC Advertising and its Impressive Benefits

Blog banner

Modern Operating system

Blog banner

Operating System

Blog banner

PHISHING

Blog banner

Introduction to Virtual Memory - 080

Blog banner

How to lose belly fat

Blog banner

10 Survival Tips that might save your life

Blog banner

Top 5 Places To Stay And Visit In Berlin, Germany

Blog banner

EFT

Blog banner

“CONSISTENCY” in Social Media Marketing

Blog banner

Basic Security For SOAP Services

Blog banner

Decoding the Weave — How to Identify Original Patola Art on a Fabric

Blog banner

What is M-commerce and how it's work

Blog banner

Computer Security

Blog banner

"The Benefits of Using GIS in Agriculture"

Blog banner

INTRODUCTION

Blog banner

Danger assessment in GIS

Blog banner

Deadlock and Starvation

Blog banner

Service Strategy In ITSM

Blog banner

Cache memory

Blog banner

CYBERPEACEKEEPING: NEW WAYS TO PREVENT AND MANAGE CYBERATTACKS

Blog banner

ASANA- A Management System.

Blog banner

Risk management in IT

Blog banner

Internet: The Vast Ocean Of Knowledge.

Blog banner

Process Creation

Blog banner