wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Starvation

profile
Shreya Mantry
Sep 09, 2024
0 Likes
0 Discussions
68 Reads
  • WHAT IS STARVATION?

Starvation is a problem where a process runs out of resources in the OS because those resources are being utilized by other processes. That means that a process terminates without completion due lack of resources. Another name for starvation is Lived lock.


  • WHEN DOES STARVATION OCCUR?

Starvation can occur where a process is unable to obtain a necessary resource, such as CPU time, memory, or I/O resources, for an extended period. This typically occurs because other processes or threads are monopolizing the resource, preventing fair access for others. Resource allocation mechanisms within an operating system, like scheduling algorithms, are responsible for managing and preventing starvation.


  • CAUSES OF STARVATION

~ One of the main causes of starvation is an unfair scheduling policy. Some scheduling algorithms, such as the Priority Scheduling algorithm, favor high-priority processes over low-priority ones. If the system is busy with high-priority processes, the low-priority processes might be left waiting indefinitely.

~ Another cause could be resource allocation issues. If a certain process holds a resource that another process needs to continue execution, and it doesn't release it, the waiting process can starve


  • SOLUTION

Starvation can be cured using a technique that is regarded as aging. In aging, priority of process increases with time and thus guarantees that poor processes will equally run in the system. 


  • DIFFERENCE BETWEEN DEADLOCK AND STARVATION

Deadlock is a state where all processes become blocked and the processes are waiting for their resources to be released, whereas in a starvation situation, a process is never given a chance to execute because it is always preempted by a higher-priority process.


Comments ()


Sign in

Read Next

Famous Indian dishes that where misunderstood to be Indian

Blog banner

Docker Framework

Blog banner

Online Games

Blog banner

Personalized Movie Recommendations with Data Science

Blog banner

Cyber Security in Data Breaching

Blog banner

Penetration Testing

Blog banner

From Websites To Super Apps For Digital User Experience

Blog banner

Data Acquisition in Cyber Forensics

Blog banner

The Features of Blockchain

Blog banner

Know your Processors!

Blog banner

Meal Maharaj — 3 CP, 5 CP, 8 CP. Same Love, Different Portions

Blog banner

Search Marketing In 2026: From Keywords To Credibility And User Intent

Blog banner

Top Career Paths After a B.Com Degree in Mumbai: What’s Next for You?

Blog banner

Expert System In AI

Blog banner

Types Of Interrupt

Blog banner

The Real Reason Patola Outfits Come at a Premium Cost

Blog banner

OS Assignment 3

Blog banner

EVOLUTION OF THE MIRCOPROCESSOR

Blog banner

Threads Concurrency: Mutual Exclusion and Synchronization

Blog banner

The Role of Frontline Managers in Driving Workplace Performance and Customer Satisfaction

Blog banner

Deadlock in operating system

Blog banner

World’s rarest passport owned by 500 people.

Blog banner

How to tie a Tie

Blog banner

Office Lunch Problems in Mumbai and How Tiffin Services Solve Them

Blog banner

HTML vs HTML5

Blog banner

Objectives and Functions of Operating System

Blog banner

10 Alien Encounters and Abduction Stories

Blog banner

Functions Of Operating Systems

Blog banner

Blockchain in IoT Applications

Blog banner

Wrike

Blog banner

Service Design Model

Blog banner

Introduction to Solidity Programming for Blockchain Development

Blog banner

Why Oak Tree Hotel Is Arcadia’s Hidden Gem?

Blog banner

How to Conquer Depression ?

Blog banner

Constrained Management in IT

Blog banner

?How long does wisdom tooth pain last?

Blog banner

In the world of Technology...

Blog banner

Man In The Middle Attack

Blog banner

Bharat Maps

Blog banner

Why Mumbai Professionals Are Switching Back to Home-Style Tiffin Meals

Blog banner

Apache Spark :- Powerful Data Processing Tool

Blog banner

Uniprocessor scheduling

Blog banner