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

Cyber Crime Investigation In The Era Of Big Data

Blog banner

Embracing the power of Modern Machine UNIX

Blog banner

SAVE TREES

Blog banner

OS Assignment 3

Blog banner

Virtual Machine

Blog banner

Networking 101: How to Build Meaningful Connections in College

Blog banner

Types of Hackers.

Blog banner

Scheduling in Operating Systems

Blog banner

COMMUNICATION

Blog banner

Impact of social media on the human life

Blog banner

Interrupts - Types, Working & Importance

Blog banner

Twisted world

Blog banner

Security issues in Sensor Networks and gathering admissible evidence in Network Forensics

Blog banner

Network Forensics

Blog banner

Having passion in life

Blog banner

Oracle Corporation

Blog banner

Theads

Blog banner

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

Blog banner

Smart Homes | Zigbee Alliance

Blog banner

Difference Between Classification And Clustering

Blog banner

The Real Reason Patola Outfits Come at a Premium Cost

Blog banner

Modern Operating System - Suren Kotian

Blog banner

Riddhi Miyani 53003220140

Blog banner

Mariana Trench: The deepest depths

Blog banner

The Dark Web: A Breeding Ground for Cybercriminals – How to Guard Against Threats

Blog banner

Partnership in Learning: How Parent Involvement Shapes a Child’s Early Education

Blog banner

MPL and how its effects?

Blog banner

Know your Processors!

Blog banner

To travel is to live

Blog banner

The Procedural Framework for Corporate High-Tech Investigations

Blog banner

'Positivity in life'

Blog banner

HR Automation : Need of the hour

Blog banner

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

Blog banner

MQTT (MQ Telemetry Transport) in Data Science

Blog banner

Race Condition

Blog banner

LINUX VSERVER VIRTUAL MACHINE ARCHITECTURE

Blog banner

Clustering Techniques

Blog banner

Spotify

Blog banner

Linux Threads:

Blog banner

The Features of Blockchain

Blog banner

Pooja Silver

Blog banner

Importance of business process documentation

Blog banner