wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Starvation

profile
Omkar Bhube
Aug 15, 2024
0 Likes
0 Discussions
72 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

BLOCKCHAIN MACHANISM

Blog banner

THE ROLE OF CYBER FORENSICS IN CRIMINOLOGY

Blog banner

How Cyber Forensics use in AI

Blog banner

LTE Technology

Blog banner

DMZ: Your Secret Weapon for Data Security

Blog banner

Sweet and Sour Mango Pickle (Gol Keri)

Blog banner

Women Empowerment

Blog banner

I/O Management and Disk Scheduling

Blog banner

"Audit" In Data Science

Blog banner

OS assignment 3

Blog banner

KASHMIR TRIPS

Blog banner

Odoo

Blog banner

HubSpot

Blog banner

Deadlock

Blog banner

Mumbaicha Dabbawalla

Blog banner

Study on cyber and network forensic in computer security management

Blog banner

Pro-Tips On How To Keep your Foot Healthy

Blog banner

GIS in Mapping and landslide alert in Bangladesh

Blog banner

Firewall in Computer Network

Blog banner

Virtual Memory

Blog banner

TECHNOLOGY : BOON OR CURSE ?

Blog banner

The Rich Heritage Of Patola Sarees: Gujarat’s Timeless Weaving Art

Blog banner

Ola

Blog banner

Cloud Security: Trends and Innovations

Blog banner

objectives and functions of operating system

Blog banner

Uniprocessor scheduling

Blog banner

Culture Of Ladakh

Blog banner

What is Virtual Memory

Blog banner

Web browser forensics:Tools,Evidence collection and analysis

Blog banner

Rules and Regulations of Networking: "Standards and Protocols" - Part 1

Blog banner

6 Digital Marketing Trends You Must Watch Out For In 2022

Blog banner

File Management system

Blog banner

Mail merge

Blog banner

Fitness regime by Deepesh

Blog banner

Juveniles, Internet and Computer Crime

Blog banner

Operating System

Blog banner

Cache memory

Blog banner

Multiprocessor and scheduling

Blog banner

Incorporating Automation into Digital Forensics.

Blog banner

Geographic Information Systems(By aditi Unnikrishnan)

Blog banner

Importance Of Time

Blog banner

POSITIVE ATTITUDE IN LIFE

Blog banner