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

Blog on Smartsheet.

Blog banner

Virtual memory

Blog banner

My Favorite Country

Blog banner

SPAM

Blog banner

10 Amazing facts about Tokyo Ghoul

Blog banner

TRELLO

Blog banner

Concept and definition of m-commerce

Blog banner

Buffer overflow

Blog banner

The launch of UniMap by HERE

Blog banner

Service Design Model

Blog banner

Social engineering in cyber security

Blog banner

GIS in Mapping and landslide alert in Bangladesh

Blog banner

How Schools Can Reduce Exam Stress in Students?

Blog banner

Data Visualization- Importance and tools (Tableau,Power BI, Matplotlib)

Blog banner

How Sleep Impacts Learning and Behaviour for Toddlers?

Blog banner

Threads Concurrency: Mutual Exclusion and Synchronization

Blog banner

The Role of Fibre in Everyday Nutrition and Digestive Health

Blog banner

Veg Mix Pickle

Blog banner

Expressing and Measuring Risk (Risk Management)

Blog banner

What are NFT s?

Blog banner

The Memory Hierarchy

Blog banner

URL vs Domain

Blog banner

NIKE

Blog banner

Real-time Scheduling - 53003230061

Blog banner

semaphores in os

Blog banner

Process in OS

Blog banner

Deadlock

Blog banner

How To Invest In Indian Stock Market @ BSE & NSE ~ Tutorial 3

Blog banner

Compromising Mobile Platforms

Blog banner

Beauty of indian railway

Blog banner

Virtualization

Blog banner

virtual machine

Blog banner

Man is free by the birth .

Blog banner

Metasploit

Blog banner

GIS Mapping

Blog banner

Synchronization

Blog banner

Career v/s Job : Choose your passion

Blog banner

Operating Systems

Blog banner

Tools to support CSI activities

Blog banner

Functions Of Operating Systems

Blog banner

Paddle Through Paradise: The Best Kayak Launch Points Near Arcadia

Blog banner

Principal of concurrency

Blog banner