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

Healthy Habits Children Learn at Preschool That Last a Lifetime

Blog banner

Music

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Types of threads

Blog banner

Jira Software

Blog banner

What is online marketing and why do you need to know about it ?

Blog banner

Memory Management

Blog banner

Functions of operating system

Blog banner

SPEM

Blog banner

Why Travellers from Miami & Orlando Are Visiting Arcadia for Weekend Getaways?

Blog banner

How to Find the Right Therapist For Me?

Blog banner

Why White Bedding Has Become a Hotel Industry Standard?

Blog banner

Cryptanalysis tool

Blog banner

DATA WRANGLING

Blog banner

TRELLO

Blog banner

SMARTSHEET MANAGEMENT SOFTWARE

Blog banner

security requirements for safe e-payment

Blog banner

Dove’s Real Beauty Campaign- Case Study

Blog banner

Traveling

Blog banner

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

Blog banner

Firewall in Computer Network

Blog banner

Multiprocessor scheduling

Blog banner

ONLINE NEWSROOMS

Blog banner

GIS Applications: How Different Industries are Leveraging Geospatial Data

Blog banner

Critical success factors

Blog banner

Data Science in Predictive Analytics: Transforming Business Decision-Making

Blog banner

Safe Learning Spaces: Why Preschool Environment Matters More Than Ever Today

Blog banner

This School Year, Let Their Belongings Come Back Home Too with Our Ultimate Labelling Kit

Blog banner

Survey of Which Movies Types people are Prefer to Watch in India.

Blog banner

A Brief Review on Cyber Forensics and its Analysis Tool

Blog banner

Privacy-Enhancing Computation Techniques

Blog banner

Modern Operating System

Blog banner

OS Assignment 3 Deadlock

Blog banner

Modern Operating System - Khush bagaria

Blog banner

File management -disha parekh

Blog banner

Explain website hacking issues

Blog banner

Disk scheduling

Blog banner

How To Setup DVWA Using XAMPP on Windows

Blog banner

Save Girl Child

Blog banner

Evolution of Operating Systems

Blog banner

Importance of modern technology era

Blog banner

Hash password! Is it really secured?

Blog banner