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

Security in Cloud Computing Environment using cryptography - Rushabh Modi

Blog banner

Environmental Management using GIS

Blog banner

Man In The Middle Attack

Blog banner

What is online marketing and why do you need to know about it ?

Blog banner

New Ransomware Encrypts Your Android And Then Changes PIN Lock

Blog banner

HR Automation : Need of the hour

Blog banner

DBMS and various career options related to it.

Blog banner

Why You Need 2FA (Two-Factor Authentication) On Your Email And Other Online Accounts

Blog banner

THREADS (assignment 1)

Blog banner

Data is an asset and it is your responsibility!

Blog banner

Understanding Regression Analysis

Blog banner

Difference Between Classification And Clustering

Blog banner

Direct Memory Access

Blog banner

How Schools Can Reduce Exam Stress in Students?

Blog banner

What is Network Security?

Blog banner

RAID

Blog banner

Cache memory

Blog banner

POVERTY:Causes and solutions to problems

Blog banner

My First Dream Bike

Blog banner

Is Brushing After Eating Damaging Your Teeth? (Fact or Myth)

Blog banner

Memory input output management

Blog banner

Smartphone Security: Vulnerabilities and Attacks

Blog banner

Why Peace River Is Florida’s Most Underrated Outdoor Adventure Destination?

Blog banner

Virtual memory

Blog banner

Virtual Memory

Blog banner

LEMON PICKLE SWEET AND MILD HOT

Blog banner

Traditional UNIX Scheduling

Blog banner

Understanding Gen Z: A Generation Facing Crisis and Potential

Blog banner

Interrupts in OS

Blog banner

Social Media Marketing Trends 2022

Blog banner

My First Trek - Sondai, Karjat - Shoaib Malik

Blog banner

Diwali

Blog banner

Penetration Testing

Blog banner

Some web vulnerabilities

Blog banner

Modern operating system

Blog banner

Computer Security

Blog banner

Cache memory

Blog banner

IP Address

Blog banner

Game Theory in Blockchain

Blog banner

Im Photographer

Blog banner

GIS in Disaster Management

Blog banner

Exploring the Power of Encase Forensic Tools: Unraveling Digital Mysteries

Blog banner