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

Cryptanalysis tool

Blog banner

Are Social Media Paid Campaigns Worth It?

Blog banner

Explain Kernel in OS

Blog banner

Music helps reduce stress

Blog banner

Is Pursuing a Dance Career in India Worth it?

Blog banner

Deadlocks in Operating System

Blog banner

Partnership in Learning: How Parent Involvement Shapes a Child’s Early Education

Blog banner

Deadlock

Blog banner

Race Condition

Blog banner

Memory management

Blog banner

File Allocation Methods

Blog banner

The Khan mehtab transforming the modular switches

Blog banner

Nature’s Brush on Silk: The Secret Behind Patola Colours

Blog banner

Service transistion under difficult conditions

Blog banner

MySQL

Blog banner

Instagram Features in 2023 That Will Leave You Stunned!

Blog banner

Jira service Management

Blog banner

Impact of social media on the human life

Blog banner

EdTech (Education Technology)

Blog banner

Sage

Blog banner

Modern Operating System

Blog banner

Amazon

Blog banner

Explain DBMS in Brief

Blog banner

Personalized Movie Recommendations with Data Science

Blog banner

Interrupts in OS

Blog banner

Multiple processor scheduling

Blog banner

HOW CAN SOCIAL MEDIA MAKE YOU HAPPIER?

Blog banner

Music

Blog banner

10 Things To Do On Valentine's Day If You're Single

Blog banner

Virtual Machine's

Blog banner

Theads

Blog banner

Incorporating Automation into Digital Forensics.

Blog banner

Linux VServer Architecture

Blog banner

Service Design Model

Blog banner

Data Mining

Blog banner

Deadlock

Blog banner

Benefits and drawback of web security.

Blog banner

Process states

Blog banner

Explaining Buffer Overflow with Example

Blog banner

How I use google in my daily life

Blog banner

Navigating the Digital Battlefield: Security Breaches and Effective Countermeasures

Blog banner

Understanding the 'Ambiverts'

Blog banner