wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Starvation and Deadlock.

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

Festive Ethnic Wear Guide: Patola-Inspired Looks for Every Celebration

Blog banner

Deadlock

Blog banner

Improving the Accuracy of GPS and GNSS

Blog banner

RAID

Blog banner

Os(Computer security threats)

Blog banner

Digital Marketing

Blog banner

Odoo

Blog banner

I/O Buffering

Blog banner

Modern Operating Systems.

Blog banner

Benefits of Yoga

Blog banner

Vulnerability Assessment

Blog banner

Music is life

Blog banner

CyberSecurity Color Wheel

Blog banner

Traveling

Blog banner

What is M-commerce and how it's work

Blog banner

Cloud Forensic Tools And Storage :A Review Paper

Blog banner

Tiranga - Abbas Haveliwala

Blog banner

Digital Balance: Keeping Children Mindful in the Screen Age

Blog banner

Virtual Memory

Blog banner

What are NFT s?

Blog banner

Product Discount Calculator

Blog banner

Virtual Machine

Blog banner

IS CONVERTING AMBITION INTO PROFESSION?

Blog banner

LEMON PICKLE (NIMBU KA ACHAR)

Blog banner

Why we should do reading

Blog banner

The role of artificial intelligence in automating digital forensic analysis.

Blog banner

GIS Applications: How Different Industries are Leveraging Geospatial Data

Blog banner

A book review

Blog banner

Super Garlicky Tomato Soup with Smashed White Beans

Blog banner

Introduction to Data Science: Life Cycle & Applications

Blog banner

Paging

Blog banner

Malware

Blog banner

File management in os

Blog banner

A Happier Workplace Starts with Healthy Lunches by Meal Maharaj

Blog banner

The Khan mehtab transforming the modular switches

Blog banner

Firewall / IDS Evasion Techniques

Blog banner

Having passion in life

Blog banner

Dal Bafla Recipe

Blog banner

Depression

Blog banner

Data-Driven Prediction of Virtual Item Prices in Online Games

Blog banner

How social media affect

Blog banner

Loneliness

Blog banner