wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Starvation

profile
Shreya Mantry
Sep 09, 2024
0 Likes
0 Discussions
68 Reads
  • WHAT IS STARVATION?

Starvation is a problem where a process runs out of resources in the OS because those resources are being utilized by other processes. That means that a process terminates without completion due lack of resources. Another name for starvation is Lived lock.


  • WHEN DOES STARVATION OCCUR?

Starvation can occur where a process is unable to obtain a necessary resource, such as CPU time, memory, or I/O resources, for an extended period. This typically occurs because other processes or threads are monopolizing the resource, preventing fair access for others. Resource allocation mechanisms within an operating system, like scheduling algorithms, are responsible for managing and preventing starvation.


  • CAUSES OF STARVATION

~ One of the main causes of starvation is an unfair scheduling policy. Some scheduling algorithms, such as the Priority Scheduling algorithm, favor high-priority processes over low-priority ones. If the system is busy with high-priority processes, the low-priority processes might be left waiting indefinitely.

~ Another cause could be resource allocation issues. If a certain process holds a resource that another process needs to continue execution, and it doesn't release it, the waiting process can starve


  • SOLUTION

Starvation can be cured using a technique that is regarded as aging. In aging, priority of process increases with time and thus guarantees that poor processes will equally run in the system. 


  • DIFFERENCE BETWEEN DEADLOCK AND STARVATION

Deadlock is a state where all processes become blocked and the processes are waiting for their resources to be released, whereas in a starvation situation, a process is never given a chance to execute because it is always preempted by a higher-priority process.


Comments ()


Sign in

Read Next

Virtual machine.

Blog banner

The Future of Patola Weaving in a Sustainable Fashion World

Blog banner

New Ransomware Encrypts Your Android And Then Changes PIN Lock

Blog banner

Guidelines for a Low sodium Diet.

Blog banner

note taker app

Blog banner

virtual machine

Blog banner

Decoding Confusion Matrix

Blog banner

How to Encrypt and Decrypt Using GNU PGP

Blog banner

Kernel in Operating System

Blog banner

Visualization in Data Science

Blog banner

The Bold Digital Marketing Moves That Made Durex India’s Second-Largest Condom Brand

Blog banner

Memory Management

Blog banner

Smartsheet

Blog banner

Synchronization

Blog banner

Operating Systems

Blog banner

BENIFITS OF YOGA

Blog banner

Crypto tax evasion

Blog banner

Operating Systems

Blog banner

Open relationships

Blog banner

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

Blog banner

american greatines

Blog banner

Paging

Blog banner

KEAP MANAGEMENT SYSTEM

Blog banner

Mobile Survey

Blog banner

What Your Music Taste Reveals About Your Personality

Blog banner

Transgender

Blog banner

NETWORK SECURITY RISKS

Blog banner

Linux VServer Architecture

Blog banner

Raid

Blog banner

Review on Recovering Deleted Files

Blog banner

differentiate thinking humanly and rationally

Blog banner

Memory Management Techniques

Blog banner

How to make Pancakes

Blog banner

Ethical Hacking

Blog banner

Benefits of Yoga

Blog banner

Multiple-Processor Scheduling in Operating System

Blog banner

What is time ? The term which has astonished Scientists

Blog banner

File Allocation Methods

Blog banner

Service Catalogue Management

Blog banner

Why Friendship at Work is Important

Blog banner

EVOLUTION OF MICROPROCESSOR

Blog banner

Cache Memory in Operating Systems

Blog banner