wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Starvation and Deadlock.

profile
Naitik Poriya undefined
Jul 05, 2024
0 Likes
0 Discussions
48 Reads

System performance and stability may be affected by starvation and deadlock, which are two critical concerns in operating systems.

 

Starvation occurs when a process is continually refused the resources it needs to execute. Resource allocation policies often lead to this situation where some processes are favored over others. For example, low-priority processes may starve if high-priority processes perpetually demand and receive resources in a priority-based scheduling algorithm. This may result in resource utilization that is unfair and inefficient.

 

Conversely, deadlock is the state of affairs whereby two or more processes are unable to proceed with their execution since they are each waiting for a resource held by another process from the same set. This results into circular dependency: Process A waits for a resource that Process B holds while at the same time Process B waits for a resource that Process A holds. Deadlock can destroy an entire system as it could make processes hang indefinitely if not properly managed.

 

There are various strategies that can be employed to mitigate both starvation and deadlock:

 

Starvation: Fairness policies should be established so as to guarantee all the processes equal opportunities to access resources. In this regard, techniques such as aging can increase priority of processes that have been waiting for long thus reducing chances of starvation.


Comments ()


Sign in

Read Next

Virtual machine.

Blog banner

Privacy-Enhancing Computation Techniques

Blog banner

Salt, Sand, and Smiles: Does the Maroubra Lifestyle Affect Your Enamel?

Blog banner

Mental Health at Midlife: When Life Transitions Become Emotional Turning Points

Blog banner

Music

Blog banner

The Role of Cyber Forensics in Addressing Cyber security Challenges in Smart Cities

Blog banner

10 Reasons why Monica and Chandler are the best couple ever.!!!

Blog banner

Different types of e-commerce platforms or advantages and disadvantages

Blog banner

Multiple processor scheduling

Blog banner

Embedded Operating System

Blog banner

The End of “Aaj Khane Mein Kya Banega?”: How a Daily Tiffin Service Simplifies Your Life

Blog banner

About myself

Blog banner

Modern operating system

Blog banner

Security issues in Sensor Networks and gathering admissible evidence in Network Forensics

Blog banner

OPERATING SYSTEM OBJECTIVES AND FAULT TOLERENCE.

Blog banner

Vaping vs. Chewing Gum: The Hidden ‘Stress Fix’ Destroying Sydney’s Teeth

Blog banner

Technical SEO : Total Guide

Blog banner

Spotify

Blog banner

Your Guide to Great Flossing, by the best affordable dentist in Maroubra

Blog banner

Way to make your meal healthier.

Blog banner

City2Surf & Spring Fitness Recovery Guide: How Sports Drinks Silently Damage Enamel

Blog banner

Network Footprinting in Cybersecurity

Blog banner

Why Personalized Return Gifts Are the Perfect Choice for Every Kid’s Birthday Party?

Blog banner

Is Social Media Marketing The Next Wave Of Digital Marketing?

Blog banner

Moral Injury Among Healthcare Workers: When Caring Conflicts With Conscience

Blog banner

Spitting Pink in the Sink: Why Your Gums Randomly Bleed

Blog banner

You Get Everyone, But No One Gets You: The Lonely Side of High Emotional Intelligence

Blog banner

Threads

Blog banner

Concurrency management in operating systems

Blog banner

A Brief Review on Cyber Forensics and its Analysis Tool

Blog banner

Service Operations in ITSM

Blog banner

Emotional Suppression: The Hidden Costs Of Unfelt Feelings

Blog banner

Scheduling in Operating Systems

Blog banner

Beyond the Track: Why the Best Hotel in Arcadia, Florida, Completes Your IMSA Sebring Getaway

Blog banner

File management

Blog banner

MoSCoW METHOD IN DATA SCIENCE

Blog banner

Why Every Preschooler Learns at Their Own Pace?

Blog banner

Google classroom

Blog banner

Koinex is shutting down and here is how you can withdraw...

Blog banner

Virtual Machine's

Blog banner

How to Choose Your Daily Signature Scent Based on Your Personal Vibe?

Blog banner

Security in Cloud Computing

Blog banner