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

Security in Operating Systems

Blog banner

Explain DBMS in Brief

Blog banner

File management in os

Blog banner

What is Spyware?

Blog banner

10 Reasons to Date a South Indian Girl

Blog banner

internet email and it's applications

Blog banner

Broken Authentication Attacks

Blog banner

Memory management

Blog banner

What is Email? Uses of Emails

Blog banner

Meal Maharaj — 3 CP, 5 CP, 8 CP. Same Love, Different Portions

Blog banner

What do you mean by online marketing and why do you need to know about it

Blog banner

Junk food vs healthy food

Blog banner

What is Data, Information and Knowledge?

Blog banner

Marvel Cinematic Universe

Blog banner

THE LEGAL ISSUES OF COMPUTER FORENSICS IN INDIA

Blog banner

WHAT IS SNAPCHAT AND HOW DOES IT WORK?

Blog banner

Operating System

Blog banner

Characteristics of Etherum

Blog banner

Animal’s have my heart

Blog banner

RAID

Blog banner

Im Photographer

Blog banner

A BLOG ON MYSQL

Blog banner

STARVATION

Blog banner

Embracing the power of Modern Machine UNIX

Blog banner

security requirements for safe e-payment

Blog banner

Why Time Management Is the Secret to College Success (and How to Master It)

Blog banner

Top 10 Logos and their meanings

Blog banner

Threading

Blog banner

SEIZING DIGITL EVIDENCE AT THE SCENE

Blog banner

Data Mapping

Blog banner

Service Validation and Testing during the Design Phase

Blog banner

Pandas Matrix Applications

Blog banner

KASHMIR TRIPS

Blog banner

RSA (Rivest-Shamir-Adelman) Algorithm

Blog banner

Emerging threats in cyber Forensics

Blog banner

Are Social Media Paid Campaigns Worth It?

Blog banner

Bitcoin sent using radio waves! No internet!

Blog banner

Security requirements for Safe E-Payments

Blog banner

GIS REMOTE SENSING

Blog banner

ADIDAS

Blog banner

Blockchain uses and use cases

Blog banner

Worms, viruses and Bots

Blog banner