wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Starvation and Deadlock.

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

Multiprocessor

Blog banner

Malware Detection Techniques for Mobile Devices

Blog banner

EVOLUTION OF MICROPROCESSOR

Blog banner

BITCOIN WALLET

Blog banner

10 Signs your Computer has Virus

Blog banner

virtual machine

Blog banner

Cache Memory in Operating Systems

Blog banner

FAMILY WHERE LIFE BEGINS....

Blog banner

Stories Woven in Silk: The Meaning Behind Patola Motifs

Blog banner

?Why Does My Breath Still Smell After Brushing?

Blog banner

5 ways to save money on catering services in Mumbai

Blog banner

Fitness

Blog banner

What are Virtual Machines

Blog banner

Service stratergy principles

Blog banner

" THE ANSWERS THAT LED INDIAN BEAUTIES TO THE MISS UNIVERSE HISTORIC WIN. "

Blog banner

INTERNET SECURITY

Blog banner

Principal of concurrency

Blog banner

Practical Implementation of Client Server model using TCP/IP.

Blog banner

Survey of Which Movies Types people are Prefer to Watch in India.

Blog banner

Smitten Kitchen Keepers

Blog banner

SNAPCHAT

Blog banner

Digital Life And Mental Health: A Psychological Perspective in the Modern World

Blog banner

Types of E-Commerce

Blog banner

What is Spyware? and examples of them.

Blog banner

?How long does wisdom tooth pain last?

Blog banner

Kernel in Operating System

Blog banner

What is OS Fingerprinting?

Blog banner

Kafka - A Framework

Blog banner

Cache Memory

Blog banner

I/O Buffering

Blog banner

The Role of Teachers in Building a Child’s Confidence

Blog banner

?Why Social and Emotional Skills Matter More Than ABCs in Early Years?

Blog banner

M commerce

Blog banner

OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

Blog banner

MY FIRST BLOG?

Blog banner

Women’s Mental Health (After Marriage)

Blog banner

PYTHON

Blog banner

Advanced Persistent Threats (APTs)

Blog banner

The Real Reason Patola Outfits Come at a Premium Cost

Blog banner

Direct Memory Access

Blog banner

Outlook.com

Blog banner

Teamwork

Blog banner