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

Deadlock

Blog banner

Danger assessment in GIS

Blog banner

GIS

Blog banner

IOT Hacking Techniques

Blog banner

Paginng In OS

Blog banner

Life lesson

Blog banner

How social media affect

Blog banner

Explain Multiprocessors

Blog banner

Footprinting

Blog banner

Memory Management

Blog banner

A Short History of GIS

Blog banner

PROCESS STATE:

Blog banner

Multiprocessor scheduling

Blog banner

Metasploit

Blog banner

Direct memory access

Blog banner

Shoulders

Blog banner

WORKFRONT SOFTWARE

Blog banner

POSITIVE ATTITUDE IN LIFE

Blog banner

MAHAKAL LOK UJJAIN

Blog banner

PHISHING

Blog banner

Why we fail after giving 100% ?

Blog banner

Digital Footprints An Emerging Dimension of Digital Inequality

Blog banner

ITIL Version 3 and 4 differenciation?

Blog banner

Modern OS

Blog banner

I/O Buffering

Blog banner

Disk scheduling

Blog banner

Virtual memory in windows

Blog banner

KASHMIR TRIPS

Blog banner

PPC Advertising and its Impressive Benefits

Blog banner

DIGITAL TECHNOLOGY

Blog banner

Health is Wealth

Blog banner

Deadlock in operating system

Blog banner

How to insert contacts in zoho crm using php

Blog banner

Procedure For Corporate High-Tech Investigations

Blog banner

Threat management

Blog banner

Unlocking Success: Mastering Google Ads Strategies

Blog banner

Uniprocessor scheduling

Blog banner

Business Engineering

Blog banner

Navigation With Indian Constellation(NavIC) by ISRO in Geographic Information Systems

Blog banner

Privacy LAWs in IT

Blog banner

Electronic Funds Transfer

Blog banner

Scheduling in Operating Systems

Blog banner