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

RACI model in IT services

Blog banner

Cyber Crime Investigation In The Era Of Big Data

Blog banner

Technical Challenges and Directions for Digital Forensics

Blog banner

Cyber Security in Data Breaching

Blog banner

WomenEmpowerment

Blog banner

Having passion in life

Blog banner

Deadlock

Blog banner

Senseless Teeths

Blog banner

BITCOIN WALLET

Blog banner

Importance Of Time

Blog banner

Supervised and unsupervised learning

Blog banner

Virus

Blog banner

Raid

Blog banner

Yoga in INDIA and ABROAD

Blog banner

Types of Big Data

Blog banner

Points to consider if you're planning to visit Florida in 2026

Blog banner

Article on IT development trends

Blog banner

From Loom to Luxury: How Patola Elevates Modern Wardrobes

Blog banner

Satellite Based Positioning

Blog banner

BEAUTY IS IN THE EYE OF THE BEHOLDER

Blog banner

Is It Too Late to Straighten My Teeth as an Adult?

Blog banner

The Bold Digital Marketing Moves That Made Durex India’s Second-Largest Condom Brand

Blog banner

Top 10 Logos and their meanings

Blog banner

Review on Cyber Forensics and its Analysis Tools

Blog banner

Craziness of dream 11 and how it impacts on our life

Blog banner

Best password managers: Reviews of the top products

Blog banner

Harsh Rathod

Blog banner

File management

Blog banner

Why Oak Tree Hotel Is Arcadia’s Hidden Gem?

Blog banner

Linux

Blog banner

Modern Operating System - Khush bagaria

Blog banner

Tiranga - Abbas Haveliwala

Blog banner

Direct Memory Access

Blog banner

Khau Galli – Vile Parle

Blog banner

How to Compare Schools Before an Admission Decision

Blog banner

Instagram

Blog banner

The Lunchbox That Came Back Untouched — How to Handle a Fussy Eater at Preschool Age

Blog banner

Principles of Service Operation

Blog banner

Brilliant WhatsApp Features Upcoming in 2023

Blog banner

What are the different types of E-mail crime and process of email forensic?

Blog banner

Beatbox

Blog banner

Use case of K-means clustering

Blog banner