wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Starvation

profile
Omkar Bhube
Aug 15, 2024
0 Likes
0 Discussions
73 Reads

Starvation in operating systems (OS) occurs when a process is perpetually denied the necessary resources to proceed with its execution. This usually happens when a scheduling algorithm continuously favors other processes, leading to the affected process being delayed indefinitely. Starvation is often associated with priority-based scheduling, where lower-priority processes may never get CPU time because higher-priority processes keep taking precedence. To mitigate starvation, techniques like *aging* can be employed, where the priority of a waiting process is gradually increased over time to ensure it eventually gets the necessary resources.


Causes of Starvation:

Priority Scheduling: In priority-based systems, higher-priority processes can continuously preempt lower-priority ones, leading to the lower-priority processes never getting scheduled.Resource Contention: When multiple processes are competing for limited resources, a process might be continuously bypassed in favor of others, especially if the resource allocation is biased.Non-preemptive Scheduling: In systems where a process cannot be preempted once it starts, longer processes can monopolize the CPU, causing others to starve.


Solutions:

Aging: This is a common solution where the priority of a waiting process is gradually increased the longer it waits, ensuring that it will eventually be executed.Fair Scheduling

Algorithms: Some algorithms, like Round-Robin or Multilevel Queue Scheduling with time-sharing, are designed to minimize the chances of starvation by ensuring that all processes get some CPU time.Resource Allocation Policies: Implementing fair resource allocation policies can help in reducing contention and ensuring that all processes receive the resources they need in a timely manner.


Comments ()


Sign in

Read Next

Service Design Model

Blog banner

Strengthening Active Directory Security

Blog banner

Full Disk Encryption on Digital Forensics

Blog banner

Vulnerabilities in OnePlus Devices

Blog banner

RAID

Blog banner

Product Discount Calculator

Blog banner

OS Assignment 3 Deadlock

Blog banner

Starvation

Blog banner

Types of Malware in Cyber Security

Blog banner

Segmentation and paging concept

Blog banner

Objectives and Functions of Operating System

Blog banner

How to Grow Your Brand on YouTube Without a Big Budget

Blog banner

KPMG (Klynveld Peat Marwick Goerdeler)

Blog banner

Inventory management software system

Blog banner

I/O buffer and its techniques

Blog banner

What Is Experiential Learning and Why Does It Work Better Than Rote Learning?

Blog banner

A True Friendship

Blog banner

A little bit of salt is all the hash needs!

Blog banner

Landslide Hazard

Blog banner

Internet of Things

Blog banner

Types of threads

Blog banner

Palm Vein Biometric Technology; Contactless vein authentication

Blog banner

Types of Hackers.

Blog banner

Microsoft Word

Blog banner

Modern Operating System - Khush Bagaria

Blog banner

Concurrency:Deadlock and Starvation

Blog banner

Objectives and functions of Operating System...

Blog banner

Why we fail after giving 100% ?

Blog banner

Consumer to consumer Business model

Blog banner

OS Assignment-3

Blog banner

Deadlocks in Operating System

Blog banner

GIS REMOTE SENSING

Blog banner

ARTICLE ON WRIKE CORPORATION

Blog banner

Footprinting

Blog banner

Caching windows

Blog banner

Different memory allocation strategies

Blog banner

The Impact of Cyber Forensics on Corporate Governance and Compliance

Blog banner

Why Inconel 625 and Monel 400 Remain Unbeatable in Refinery Applications?

Blog banner

GraphQL

Blog banner

ARTICAL ON MANAGEMENT SYSTEM

Blog banner

Why Friendship at Work is Important

Blog banner

File management

Blog banner