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

How To Invest in Indian Stock Market For Beginners. ~ Tutorial 2 (NSDL And CSDL) Continued...

Blog banner

Assignment-3

Blog banner

City of Mumbai (Bombay):

Blog banner

The Memory Hierarchy

Blog banner

Game Theory in Blockchain

Blog banner

Efficiency of SQL Injection Method in Preventing E-Mail Hacking

Blog banner

You'll get to know about Pankaj Negi

Blog banner

ACHIEVEMENTS IN OPERATING SYSTEMS

Blog banner

Carrot Pickle With Raisins (lagan Nu Achar)

Blog banner

All you need to know about “On-page SEO”

Blog banner

MQTT (MQ Telemetry Transport) in Data Science

Blog banner

Koinex is shutting down and here is how you can withdraw...

Blog banner

Principles of Concurrency

Blog banner

Multiple processor scheduling

Blog banner

Consumer to consumer business mode

Blog banner

All you need to know about Website Traffic

Blog banner

Ethical Issues in Data Science and Role of Data Science in Smart Cities

Blog banner

PERSONALITY DEVELOPMENT

Blog banner

Concept and definition of m-commerce

Blog banner

Network Forensics

Blog banner

Memory Management

Blog banner

File Organization and Access

Blog banner

Modern Operating System

Blog banner

Multithreading in Operating System

Blog banner

APACHE KAFKA

Blog banner

Interrupts in operating system.

Blog banner

Social Engineering Deceptions and Defenses

Blog banner

Why Progressive Web Apps (PWAs) Are Replacing Traditional Websites

Blog banner

 " Healing of Yoga "

Blog banner

Yahoo! mail

Blog banner

Philadelphia Experiment : Was it real?

Blog banner

KAHAWA TEA

Blog banner

Networking 101: How to Build Meaningful Connections in College

Blog banner

The Difference Between Plaque and Tartar Explained Simply

Blog banner

Deadlock Prevention

Blog banner

Technological Advancement

Blog banner

Software Piracy & Online Data Protection in Digital World

Blog banner

Latest Email Marketing Techniques

Blog banner

Why Meal Maharaj Prioritises Seasonal Vegetables in Every Meal Box

Blog banner

Data Acquisition in Cyber Forensics

Blog banner

NETWORK SECURITY RISKS

Blog banner

What is Anxiety? How to manage Anxiety?

Blog banner