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

Blog banner

Processing Crime and Incident Scenes

Blog banner

Network Forensics

Blog banner

15 Websites that will make your life easier ...!!!

Blog banner

Soak knowledge and level up your intellectual potential!!!

Blog banner

Digital Forensics Challenges and Tools

Blog banner

PERT Overview

Blog banner

Some web vulnerabilities

Blog banner

PHISHING

Blog banner

Memory Management

Blog banner

Compromising Mobile Platforms

Blog banner

Importance of Website

Blog banner

Unlocking the Secrets: Basic Operations of Computer Forensic Laboratories

Blog banner

Deadlock

Blog banner

Social media

Blog banner

ODOO

Blog banner

Data Security must be your Priority!

Blog banner

M commerce

Blog banner

MYNTRA

Blog banner

Photorec - media recovery tool

Blog banner

How to tie a Tie

Blog banner

RAID_142

Blog banner

Critical success factors

Blog banner

Navigating the Digital Battlefield: Security Breaches and Effective Countermeasures

Blog banner

Big Data

Blog banner

Virtual memory

Blog banner

Brilliant WhatsApp Features Upcoming in 2023

Blog banner

OS assignment 3

Blog banner

Traditional Unix System

Blog banner

Measuring IT Risk

Blog banner

Microsoft powerpoint presentation

Blog banner

Article on team management software

Blog banner

5 Stages of Digital Marketing

Blog banner

Royal enfield

Blog banner

Top 10 Logos and their meanings

Blog banner

The Power of Teamwork: Learning Collaboration Through Everyday Activities

Blog banner

Emerging threats in cyber Forensics

Blog banner

The IT Service Lifecycle

Blog banner

Service Operations in ITSM

Blog banner

Man is free by the birth .

Blog banner

File Management

Blog banner

VIRTUAL MEMORY

Blog banner