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

Protect yourself from System Hacking with these Simple Steps

Blog banner

Multiprocessor and Multicore Organization

Blog banner

Crypto tax evasion

Blog banner

HR Automation : Need of the hour

Blog banner

Android Application Components and Activity Lifecycle

Blog banner

note taker app

Blog banner

26/11 The Black Day Of Mumbai

Blog banner

Which Smartphone Company Has the Largest Market Share in India?

Blog banner

virtual machine

Blog banner

Dr. Venkadavarahan

Blog banner

Next time you click on "Remind me later", think twice!

Blog banner

Evolution of Operating Sytems

Blog banner

Smartsheet

Blog banner

Precision-Recall in Data Science

Blog banner

Data Science & AI

Blog banner

Deadlock

Blog banner

Security Breaches in Stock market trading

Blog banner

POVERTY:Causes and solutions to problems

Blog banner

Modern operating system

Blog banner

Cache Memory(142)

Blog banner

Twisted world

Blog banner

Title: Modern Operating Systems: Powering the Digital Era

Blog banner

Service stratergy principles

Blog banner

Building a Simple Doctor Appointment System in Common Lisp

Blog banner

Be you

Blog banner

Deadlock

Blog banner

Dancing Classes In Mumbai

Blog banner

I/O Management and Disk Scheduling

Blog banner

Threads

Blog banner

Coping with Diagnosis Shock

Blog banner

How the mobile IP is used in GSM architecture.

Blog banner

geographic information system (GIS)

Blog banner

Street foods

Blog banner

Student Grade Calculator in LISP

Blog banner

Evolution of the Microprocesor

Blog banner

OS Assignment-3

Blog banner

Vulnerability Assessment

Blog banner

Digital marketing spotlight “Dove’s Real Beauty Campaign”

Blog banner

Fashion design

Blog banner

security controls

Blog banner

A Short History of GIS

Blog banner

Dos (Denial of service) Attack

Blog banner