wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Starvation and Deadlock.

profile
Naitik Poriya undefined
Jul 05, 2024
0 Likes
0 Discussions
39 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

This Windows 11 encryption bug may cause data damage

Blog banner

AN EVENT-BASED DIGITAL FORENSIC INVESTIGATION

Blog banner

Therapy Myths That Need to End in 2025

Blog banner

Yoga in INDIA and ABROAD

Blog banner

Senseless Teeths

Blog banner

Compromising Mobile Platforms

Blog banner

“CONSISTENCY” in Social Media Marketing

Blog banner

SQL Injection practice on DVWA

Blog banner

Race condition

Blog banner

Cache memory

Blog banner

E-BUSINESS RISK MANAGEMENT

Blog banner

Four Stalls Every Vegetarian Needs To Eat At Outside Vile Parle Station

Blog banner

The Rise of Polo Tourism in the USA: How Travellers Are Blending Luxury Stays with Elite Sports

Blog banner

Protein and Energy: Why Your Workday Diet Needs More of It

Blog banner

BITCOIN WALLET

Blog banner

10 Interesting Facts about Attack on Titan

Blog banner

FAMILY WHERE LIFE BEGINS....

Blog banner

How to Grow Your Brand on YouTube Without a Big Budget

Blog banner

Why You Should Not Use Free VPNs

Blog banner

Social Engineering Attacks

Blog banner

Decision Tree: A Diagram Model

Blog banner

Linux 94

Blog banner

Fault Tolerance

Blog banner

Water Resources are about to exhaust...

Blog banner

Why Data Privacy Is Changing Online Advertising

Blog banner

Data Structures

Blog banner

What is Packet Filtering?

Blog banner

Life of a 2020-2021 student

Blog banner

Install Ubuntu Easily

Blog banner

WHAT IS SNAPCHAT AND HOW DOES IT WORK?

Blog banner

What is Network Security?

Blog banner

Docker Framework

Blog banner

OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

Blog banner

Security issues

Blog banner

Reclaim Your Bite and Beauty: All About Dental Restorative Treatments

Blog banner

Man In The Middle Attack

Blog banner

The most common internet security threats

Blog banner

Types of Hackers.

Blog banner

Logical and physical address

Blog banner

“Shot on iPhone” : A campaign by Apple that turned into a prodigy

Blog banner

Virtual memory

Blog banner

Importance Of Yoga.

Blog banner