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

Video games

Blog banner

Data Exfiltration

Blog banner

Memory input output management

Blog banner

How storytelling Is Becoming the Secret Weapon of Modern Brands?

Blog banner

Heart Fulness Meditation

Blog banner

Demystifying Cryptography: A Beginner's Guide

Blog banner

Mariana Trench: The deepest depths

Blog banner

TEAMWORK

Blog banner

What is Network Security?

Blog banner

Deadlock and Starvation

Blog banner

Modern operating system

Blog banner

Memory Management in Operating System

Blog banner

MEMORY MANAGEMENT REQUIREMENT

Blog banner

5 ways to save money on catering services in Mumbai

Blog banner

Sage business cloud accounting

Blog banner

Blog on health and fitness

Blog banner

Top 5 Benefits of Artificial Intelligence

Blog banner

Love is in air.....

Blog banner

Uniprocessor scheduling

Blog banner

MENDELEY

Blog banner

SMARTSHEET

Blog banner

Memory Management

Blog banner

Virtual Machine

Blog banner

Know your Processors!

Blog banner

Expert System In AI

Blog banner

Deadlock in operating system

Blog banner

Proton mail

Blog banner

Introduction to Data Science: Life Cycle & Applications

Blog banner

Cache memory

Blog banner

How Harshad Valia International School is nurturing India’s Young Minds?

Blog banner

How to Manage Employees and Tasks in One System (Without Excel)

Blog banner

OS Assignment 3

Blog banner

Deadlock

Blog banner

Deadlock Prevention

Blog banner

Discover The Top 3 Places To Stay in London

Blog banner

Working with Sniffers for monitoring network communication

Blog banner

Place to visit in pune

Blog banner

The Right way of cooking

Blog banner

Patola Outfits for the Modern Wardrobe: Reviving Indian Handloom in Style

Blog banner

Cache memory

Blog banner

Key to success in Sports

Blog banner

CYBERPEACEKEEPING: NEW WAYS TO PREVENT AND MANAGE CYBERATTACKS

Blog banner