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

MEMORY MANAGEMENT FILE

Blog banner

Deadlock and Starvation

Blog banner

What is Vishing?

Blog banner

How International Schools Build Global-Minded Students through Curriculum & Activities

Blog banner

How to kiss

Blog banner

Understanding - Proof of Work!

Blog banner

Importance Of Education.

Blog banner

Top 5 Tech Innovations of 2018

Blog banner

Visualization in Data Science

Blog banner

Memory Management

Blog banner

Heart Fulness Meditation

Blog banner

SECURITY VULNERABILITIES COUNTERMEASURES IN A SMART SHIP SYSTEM

Blog banner

Apache Kafka

Blog banner

Sage business cloud accounting

Blog banner

Access management

Blog banner

10 Interesting facts you should know!!!

Blog banner

BUSINESS MODELS OF E COMMERCE

Blog banner

Decision Tree: A Diagram Model

Blog banner

Europe Through My Lens

Blog banner

Explain website hacking issues

Blog banner

A Weekend at Oak Tree Hotel: The Best Hotel Experience in Arcadia, Florida

Blog banner

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

Blog banner

NIKE

Blog banner

The Evolution of the Microprocessor ~ Aditya Pai

Blog banner

Constrains in service design

Blog banner

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

Blog banner

GIS REMOTE SENSING

Blog banner

Memory Management in Operating System

Blog banner

Introduction to Data Science: Life Cycle & Applications

Blog banner

Exploring the Power of Encase Forensic Tools: Unraveling Digital Mysteries

Blog banner

Time Series Analysis

Blog banner

Threads

Blog banner

SQL Injection

Blog banner

Modern Operating System

Blog banner

Windows Operating System

Blog banner

Denial-of-Service and Distributed Denial-of-Service Attack Techniques

Blog banner

Deadlocks

Blog banner

Fitness regime by Deepesh

Blog banner

Footprinting

Blog banner

Processes: Process Description and Control.

Blog banner

MY MOST THRILLED TREK ..... BHAIRAVGAD

Blog banner

Types of email

Blog banner