wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Starvation

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

Privacy in Social Media and Online Services

Blog banner

File system

Blog banner

Modern Operating System

Blog banner

EdTech (Education Technology)

Blog banner

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

Blog banner

Veg Mix Pickle

Blog banner

Street foods

Blog banner

MUTUAL EXCLUSION

Blog banner

The Impact of Tolerances and Wall Thickness on Pipeline Integrity

Blog banner

Modern Operating System

Blog banner

Memory management

Blog banner

Starvation

Blog banner

What is Email? Uses of Emails

Blog banner

Data is an asset and it is your responsibility!

Blog banner

Embaded operating system

Blog banner

GIS

Blog banner

Theads

Blog banner

TOP 5 GAMING GADGETS (2024)

Blog banner

Understanding Regression Analysis

Blog banner

Memory Management

Blog banner

Blockchain Security Technique

Blog banner

ACHIEVEMENTS IN OPERATING SYSTEMS

Blog banner

Mumbai Metro 3

Blog banner

Explain the concept of ( MIS) Management information systems

Blog banner

RAID

Blog banner

Compromising Mobile Platforms

Blog banner

MEMORY MANAGEMENT REQUIREMENT

Blog banner

new blog

Blog banner

Virtual Memory

Blog banner

How the mobile IP is used in GSM architecture.

Blog banner

Delhi city

Blog banner

Security in Operating Systems

Blog banner

OS Assignment 1

Blog banner

Session Hijacking

Blog banner

Classification Vs Clustring? What's the diffrence?

Blog banner

OS Evolution Achievements

Blog banner

Instagram Features in 2023 That Will Leave You Stunned!

Blog banner

Uniprocessor Scheduling

Blog banner

DISK SCHEDULING

Blog banner

How To Implement Search Engine Marketing (Sem) Strategy Effectively

Blog banner

Virtual memory

Blog banner

Computer Security

Blog banner