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

A Short History of GIS

Blog banner

Social Media Sentiment Analysis

Blog banner

(Input/Output) in os

Blog banner

What is Password Cracking ? and it's Techniques.

Blog banner

Importance of modern technology era

Blog banner

semaphores

Blog banner

WINDOWS I/ O

Blog banner

Making Money through Instagram

Blog banner

10 Unknown facts about India's Independence

Blog banner

EMAIL INVESTIGATION

Blog banner

Technical SEO : Total Guide

Blog banner

ADIDAS

Blog banner

IT RISK

Blog banner

The Essential Guide to Dynamic Arrays vs. Linked Lists: Which to Use and When ?

Blog banner

security controls

Blog banner

Os(Computer security threats)

Blog banner

Gis in agriculture and farming

Blog banner

The Peephole

Blog banner

Hacking of web server and application

Blog banner

Blog on health and fitness

Blog banner

Importance of Network Security Risk

Blog banner

Fitness

Blog banner

OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

Blog banner

WORKFRONT SOFTWARE

Blog banner

RAID and It's Levels

Blog banner

Socket Programming in Java

Blog banner

CyberSecurity Color Wheel

Blog banner

Evolution of Operating system

Blog banner

Introduction to GIS

Blog banner

Clustering Techniques

Blog banner

semaphores in os

Blog banner

GOOGLE

Blog banner

Virtual Machine's

Blog banner

Install Ubuntu in Vmware

Blog banner

OS Assignment 3 Deadlock

Blog banner

indian premier league

Blog banner

Health and fitness

Blog banner

Career v/s Job : Choose your passion

Blog banner

Information of meesho company

Blog banner

RAID

Blog banner

Esri India launches Policy Maps.

Blog banner

Information Technology In E- Commerce

Blog banner