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

10 Types of Friends in every friend group

Blog banner

Revolutionary AI Tool: ChatGPT

Blog banner

Yahoo! mail

Blog banner

Life

Blog banner

Self defence

Blog banner

SNAPCHAT

Blog banner

Big Data Architecture

Blog banner

Best password managers: Reviews of the top products

Blog banner

MODERN OPERATING SYSTEM

Blog banner

THE INPACT OF SOCIAL MEDIA!

Blog banner

SECURITY TOOLS

Blog banner

Sniffing: A Cyber Security Threat

Blog banner

Why Soft Skills Matter as Much as Grades?

Blog banner

Deadlocks in Operating Systems

Blog banner

Zoho

Blog banner

Monday. com App

Blog banner

Mumbaicha Dabbawalla

Blog banner

Capacity management in ITSM

Blog banner

Ubiquitous Computing

Blog banner

Dancing Classes In Mumbai

Blog banner

Evolution of operating system

Blog banner

Network Forensics

Blog banner

Spyware

Blog banner

Automating OSINT tasks for efficient Cyber Forensics Investigations

Blog banner

Linux

Blog banner

Emailing the merger document

Blog banner

Security Issues and Countermeasures

Blog banner

How to invest in Indian Stock Market ? ~ Tutorial 1

Blog banner

Social Media.

Blog banner

Honeypot in cyber security

Blog banner

Os(Computer security threats)

Blog banner

Blockchain Transactions

Blog banner

ITIL Version 3 and 4 differenciation?

Blog banner

Introduction my self

Blog banner

Service Strategy principles

Blog banner

computer security

Blog banner

BITCOIN WALLET

Blog banner

What is the point of living if we can die at any moment of our lives ?

Blog banner

Deadlock

Blog banner

Study of Backdoor and Trojan tools

Blog banner

TRELLO

Blog banner

Travel: Everything Everywhere!

Blog banner