wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Starvation and Deadlock.

profile
Naitik Poriya undefined
Jul 05, 2024
0 Likes
0 Discussions
41 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

IoT Evolution

Blog banner

RAID - LEVELS OF RAID

Blog banner

The Role of Teachers in Building a Child’s Confidence

Blog banner

Virtual memory

Blog banner

MEMORY MANAGEMENT

Blog banner

Top 3 Places To Stay In Vienna

Blog banner

E-BUSINESS RISK MANAGEMENT

Blog banner

Why Every Preschooler Learns at Their Own Pace?

Blog banner

Winter-to-Spring Smile Care: How Sydney’s Late-August Winds Impact Your Teeth & Gums

Blog banner

M commerce

Blog banner

Is it important to follow all the trends that come up on social media?

Blog banner

Method of Evaluating Information Security Level in an Organization

Blog banner

Threat management

Blog banner

Sensory Play for Toddlers: Boosting Curiosity Through Touch, Sound, and Colour

Blog banner

Data Security must be your Priority!

Blog banner

Memory Management in Operating System

Blog banner

Top Career Paths After a B.Com Degree in Mumbai: What’s Next for You?

Blog banner

Impact of social media on the human life

Blog banner

Zomato's Secret Digital Marketing Techniques!

Blog banner

Webmail

Blog banner

Multiprocessor and Multicore Organization

Blog banner

All you need to know about Website Traffic

Blog banner

IT Service Continuity Management

Blog banner

Wedding photographer

Blog banner

Ethical Hacking

Blog banner

Kernel Modes: User Mode vs. Kernel Mode - 80

Blog banner

Note Taker App

Blog banner

STARVATION

Blog banner

WomenEmpowerment

Blog banner

CBSE + International Thinking: How Indian Schools Are Producing World-Ready Students

Blog banner

How HRMS, Task Management, and Team Chats Can Improve Workplace Productivity

Blog banner

Importance of modern technology era

Blog banner

Financial Fraud Detection

Blog banner

Personalised Name Labels vs. Handwritten Stickers: Which Is Better for Your Child’s School Essentials?

Blog banner

Pioneer Park Zolfo Springs — A Hidden Gem for Nature Lovers Near Arcadia

Blog banner

Corporate Discipline.

Blog banner

How Reading Books Shape a Child’s Imagination and Thinking?

Blog banner

ACHIEVEMENTS IN OPERATING SYSTEMS

Blog banner

Soak knowledge and level up your intellectual potential!!!

Blog banner

Explain DBMS in Brief

Blog banner

Question

Blog banner

Blockchain Transactions

Blog banner