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

virtual machine

Blog banner

Making Money through Instagram

Blog banner

Riddhi Miyani 53003220140

Blog banner

Why Are So Many Adults Getting Diagnosed with ADHD?

Blog banner

Impact of social media on the human life

Blog banner

Key to success in Sports

Blog banner

Uniprocessor scheduling

Blog banner

Cloud Computing: Threats and Vulnerabilities

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Is it important to follow all the trends that come up on social media?

Blog banner

MailChimp

Blog banner

Ola

Blog banner

Process, process creation and process termination

Blog banner

All you need to know about Website Traffic

Blog banner

Boxing

Blog banner

The Art of Slow Fashion: Why Patola Defines Sustainable Luxury

Blog banner

Process Description

Blog banner

E-security systems | CCTV

Blog banner

OS Assignment 3

Blog banner

Segmentation and paging concept

Blog banner

DATA SCIENCE IN BUSINESS AND MARKETING

Blog banner

AOL Mail

Blog banner

Access management

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Types of Viruses

Blog banner

How to setup a professional looking business account on Instagram?

Blog banner

Types of email

Blog banner

Python as a tool for Data science task & project

Blog banner

Docker Framework

Blog banner

Why Oak Tree Hotel Is Arcadia’s Hidden Gem?

Blog banner

ACHIEVEMENTS IN OPERATING SYSTEMS

Blog banner

Top 5 Places To Stay And Visit In Berlin, Germany

Blog banner

Skills An Ethical Hacker Must Have

Blog banner

Supervised and unsupervised learning

Blog banner

Why is it hard to design an Operating Systems ?

Blog banner

Session Hijacking Techniques

Blog banner

Functions of Operating System

Blog banner

OS Assignment-3

Blog banner

GIS

Blog banner

Respondo Launches Revolutionary Video Discussion App

Blog banner

You'll get to know about Pankaj Negi

Blog banner

Facebook marketing

Blog banner