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

Pandas Matrix Applications

Blog banner

Multicore and multithreading 171

Blog banner

Cloud Security: Trends and Innovations

Blog banner

Computer Security

Blog banner

Explain the concept of ( MIS) Management information systems

Blog banner

Hot Mango Pickle (Methiyu)

Blog banner

Starvation

Blog banner

“CONSISTENCY” in Social Media Marketing

Blog banner

Different types of scam Fraud

Blog banner

How to Prepare Your Child for Their First Day of School?

Blog banner

Man is free by the birth .

Blog banner

Rain

Blog banner

Delhi city

Blog banner

Deadlock

Blog banner

What is OS Fingerprinting?

Blog banner

Deadlock

Blog banner

c

Blog banner

10 Signs your Computer has Virus

Blog banner

Pipedrive

Blog banner

VIRUS

Blog banner

Operation system

Blog banner

WHAT IS SNAPCHAT AND HOW DOES IT WORK?

Blog banner

Supervised and Unsupervised Learning

Blog banner

Modern operating system

Blog banner

Multiple processor scheduling

Blog banner

Memory management

Blog banner

How to use GIT & GITHUB

Blog banner

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

Blog banner

Deadlock

Blog banner

Why You Need 2FA (Two-Factor Authentication) On Your Email And Other Online Accounts

Blog banner

Zomato (Income Sources)

Blog banner

ahh wait a min

Blog banner

PPC Advertising and its Impressive Benefits

Blog banner

Critical success factors

Blog banner

'C', 'C++' and 'Java': Head-to-Head

Blog banner

Regression Analysis

Blog banner

Phishing

Blog banner

Functions of Operating System

Blog banner

Pilgrimage at LOC: A privilege and a paradox

Blog banner

MOVEMBER

Blog banner

Social engineering in cyber security

Blog banner

10 Survival Tips that might save your life

Blog banner