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

Senseless Teeths

Blog banner

Travel: Everything Everywhere!

Blog banner

Ethical Hacking

Blog banner

Deadlocks in Operating System

Blog banner

The IT Service Lifecycle

Blog banner

Fun Christmas Activities For Toddlers & Kids

Blog banner

Ola

Blog banner

Google classroom

Blog banner

WHAT IS TWITTER AND HOW DOES IT WORK

Blog banner

Os Virtual Memory

Blog banner

Recipe of Paneer Butter Masala

Blog banner

Deadlock

Blog banner

Importance of business process documentation

Blog banner

IS CONVERTING AMBITION INTO PROFESSION?

Blog banner

What is OS and its overview

Blog banner

Excel records

Blog banner

THE DESIRE OF MANY

Blog banner

Retiring ISS

Blog banner

From Procrastinator to Performer: How to Beat the Last-Minute Rush

Blog banner

Revolutionary AI Tool: ChatGPT

Blog banner

Meshoo

Blog banner

Memory Management

Blog banner

Real-Time Operating Systems (RTOS) Deep Explanation

Blog banner

Key to success in Sports

Blog banner

Functions of Operating System

Blog banner

Direct Memory Access

Blog banner

Improving defences Proxy Device(defense in depth)

Blog banner

Brilliant WhatsApp Features Upcoming in 2023

Blog banner

DISK SCHEDULING

Blog banner

MoSCoW METHOD IN DATA SCIENCE

Blog banner

Veg/Non-veg/Egg Tiffin Meals That Are Nutritious and Filling

Blog banner

Types of Malware in Cyber Security

Blog banner

Challenges and risks in service operations

Blog banner

A Complete Guide to Satvik Indian Powder Masalas and Their Everyday Uses

Blog banner

Student Grade Calculator in LISP

Blog banner

Earth with no trees

Blog banner

Healthy Indian Dinner Ideas for Better Digestion and Sleep

Blog banner

DEVELOPMENTS LEADING TO MODERN OPERATING SYSTEMS

Blog banner

Having passion in life

Blog banner

Junk food vs healthy food

Blog banner

Install Ubuntu Easily

Blog banner

Memory Management in Operating System

Blog banner