wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Starvation and Deadlock.

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

The Evolution of the Microprocessor ~ Aditya Pai

Blog banner

Virtual Machine

Blog banner

MySQL

Blog banner

Supervised and Unsupervised Learning

Blog banner

Digital Marketing

Blog banner

Disk Management

Blog banner

I Personally

Blog banner

Cyber Forensics in a Ransomware Attack Recovery

Blog banner

How can denial-of-service(Dos) attacks be prevented?

Blog banner

Not anti-social, but pro-solitude

Blog banner

Incorporating Automation into Digital Forensics.

Blog banner

Why Kanye West (Now Ye) is the GOAT: A Legacy Beyond Music

Blog banner

Social engineering in cyber security

Blog banner

Big Data

Blog banner

DATA VAULT

Blog banner

MUTUAL EXCLUSION

Blog banner

Mumbaicha Dabbawalla

Blog banner

Memory Management

Blog banner

You'll get to know about Pankaj Negi

Blog banner

Interesting fact about kangaroo.

Blog banner

Dancing Classes In Mumbai

Blog banner

Social Media.

Blog banner

The New Classic: Indo Western Patola Outfits for Today’s Woman

Blog banner

Operating Systems

Blog banner

Study on cyber and network forensic in computer security management

Blog banner

GIS info about Bermuda Triangle

Blog banner

Dove’s Real Beauty Campaign- Case Study

Blog banner

Data Structures

Blog banner

Security issues

Blog banner

Can ChatGPT Answer All My Questions About Life?

Blog banner

How Does Preschool Help Children Become Better Decision Makers?

Blog banner

Operating System

Blog banner

Self defence

Blog banner

Threats To Computer System

Blog banner

Shoulders

Blog banner

Characteristics of Etherum

Blog banner

Diwali

Blog banner

Hubspot

Blog banner

How Puppet Shows and Role Play Teach Empathy to Preschoolers

Blog banner

Software

Blog banner

Why Your Child Cries at Drop-Off and How Preschools Handle It Gently

Blog banner

Points to consider if you're planning to visit Florida in 2026

Blog banner