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

Kernel in Operating System

Blog banner

semaphores

Blog banner

What is M-commerce and how it's work

Blog banner

Ubiquitous Computing

Blog banner

Every body is beautiful

Blog banner

Defining youtubr

Blog banner

Reclaim Your Bite and Beauty: All About Dental Restorative Treatments

Blog banner

Palm Vein Biometric Technology; Contactless vein authentication

Blog banner

DMZ: Your Secret Weapon for Data Security

Blog banner

Life of an army person

Blog banner

rupee

Blog banner

5 ways to save money on catering services in Mumbai

Blog banner

Self managing devices

Blog banner

Electronic Funds Transfer

Blog banner

Jamming Attacks in Network Security: Disrupting Communication Signals

Blog banner

Virtual memory in os

Blog banner

SMARTSHEET MANAGEMENT SOFTWARE

Blog banner

The Power of Cyber Forensic in Solving Crimes

Blog banner

An Approach To Spyware Detection And Removal

Blog banner

PPC Advertising and its Impressive Benefits

Blog banner

Apache Kafka

Blog banner

What is Spyware?

Blog banner

BharatPe

Blog banner

Zero-Day Attack

Blog banner

The Role of Teachers in Building a Child’s Confidence

Blog banner

Memory Management Techniques

Blog banner

UniProcessor Scheduling

Blog banner

Computer security techniques

Blog banner

Data Visualization in Decision-Making

Blog banner

Cyber Forensics on IOT Devices

Blog banner

INTERRUPTS

Blog banner

LinkedIn: Watch out for these 7 upcoming updates in 2023

Blog banner

Delhi city

Blog banner

Disk scheduling

Blog banner

Why Data Security Is Important

Blog banner

Is Your Password Complex Enough?

Blog banner

Exploring Human Factors in Cyber Forensics Investigations.

Blog banner

Service Catalogue Management

Blog banner

SECURITY RISKS OF REMOTE WORKING

Blog banner

Blockchain Transactions

Blog banner

10 Reasons to Date a South Indian Girl

Blog banner

Service Design Model

Blog banner