wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Starvation

profile
Shreya Mantry
Sep 09, 2024
0 Likes
0 Discussions
70 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

Operating system evolution

Blog banner

Topic: Sessions in Operating system

Blog banner

Arcadia Antique District: A Treasure Hunter’s Guide to Vintage Finds

Blog banner

Os(Computer security threats)

Blog banner

How to Manage Business Invoices and Payments Easily?

Blog banner

File system implementation

Blog banner

bulk email software

Blog banner

E-BUSINESS RISK MANAGEMENT

Blog banner

How Reading Books Shape a Child’s Imagination and Thinking?

Blog banner

Deming’s Process

Blog banner

Threads

Blog banner

Deadlock and Starvation

Blog banner

Characteristics of Etherum

Blog banner

38_Network Sniffing Techniques_SBC

Blog banner

Types of E-Commerce

Blog banner

Data Visualization in Decision-Making

Blog banner

What is Amazon?

Blog banner

Protect yourself from System Hacking with these Simple Steps

Blog banner

EdTech (Education Technology)

Blog banner

OPERATING SYSTEM

Blog banner

Article on Fresh Book

Blog banner

Deadlock and Starvation

Blog banner

10 Things To Do On Valentine's Day If You're Single

Blog banner

5 Powerful Mindset Shifts To Make 2026 Your Breakthrough Year

Blog banner

GIS

Blog banner

How Preschools Help Children Make Their First Friends

Blog banner

How Sleep Impacts Learning and Behaviour for Toddlers?

Blog banner

Discover The Top 3 Places To Stay in London

Blog banner

WomenEmpowerment

Blog banner

Threads

Blog banner

Data Lakes: A Key to Modern Data Management

Blog banner

Android Application Components and Activity Lifecycle

Blog banner

The Rise of Evil Twin Attacks: A New Kind Of Spoofing Cyberattack

Blog banner

Photography

Blog banner

Culture Of Ladakh

Blog banner

FASHION

Blog banner

Volatile Memory & Non-Volatile Memory Explained

Blog banner

How User Data Shapes Personalised Campaigns

Blog banner

Session Hijacking Techniques

Blog banner

Knowledge Management in Continual Service improvement (CSI)

Blog banner

Spotify

Blog banner

Importance Of Education.

Blog banner