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

Love is in air.....

Blog banner

Khau Galli – Vile Parle

Blog banner

The seven-step improvement process

Blog banner

Wiretapping

Blog banner

GIS in Disaster Management

Blog banner

CYBERPEACEKEEPING: NEW WAYS TO PREVENT AND MANAGE CYBERATTACKS

Blog banner

Why is online marketing is important in current scenario

Blog banner

Linux Memory Management

Blog banner

What is process

Blog banner

How social media affect

Blog banner

MIDDLE CLASS MELODIES!!

Blog banner

Tracking Emails & Email Crimes

Blog banner

How Cyber Forensics help prevent Crimes

Blog banner

Therapy Myths That Need to End in 2025

Blog banner

7 Perks of Getting Your Teeth Whitening Done Professionally

Blog banner

Data Science & AI

Blog banner

GraphQL

Blog banner

Hey Aryan here

Blog banner

Fitness

Blog banner

MEMORY FORENSIC ACQUISITION AND ANALYSISOF MEMORY AND ITS TOOLS COMPARISON

Blog banner

The art of being alone

Blog banner

Digital Life And Mental Health: A Psychological Perspective in the Modern World

Blog banner

Thumb Sucking: When It’s Normal and When It Becomes a Dental Problem

Blog banner

Disk scheduling

Blog banner

Bit Coins

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Why Are So Many Adults Getting Diagnosed with ADHD?

Blog banner

DATA WRANGLING

Blog banner

Atlantis - The Lost Island.........

Blog banner

Cache memory

Blog banner

10 Things To Do On Valentine's Day If You're Single

Blog banner

Why You Need 2FA (Two-Factor Authentication) On Your Email And Other Online Accounts

Blog banner

The House ??of Patola Designs: Traditional Weaves with a Modern Twist

Blog banner

Why Moms Are Choosing Customised School Accessories Over Generic Products?

Blog banner

Cloud Computing: Threats and Vulnerabilities

Blog banner

PERT Overview

Blog banner

Memory management

Blog banner

Trends that began during the pandemic

Blog banner

Threads and concurrency

Blog banner

Can a Water Flosser Replace Manual Flossing? Here’s What Dentists Say

Blog banner

Types of email

Blog banner

Interesting fact about kangaroo.

Blog banner