wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Starvation

profile
Raj Darji 1501
Aug 14, 2024
0 Likes
0 Discussions
217 Reads

Starvation occurs when a process in the OS runs out of resources because other processes are using it. This is a problem with resource management while Operating systems employ aging as a scheduling approach to keep them from starving. It is one of the most common scheduling algorithms in batch systems. Each process is assigned a priority. The process with the highest priority is to be executed first and so on. Here we will be discussing a major problem related to priority scheduling and its solution.


What is Starvation?

Starvation or indefinite blocking is a phenomenon associated with the Priority scheduling algorithms, in which a process ready for the CPU (resources) can wait to run indefinitely because of low priority. In a heavily loaded computer system, a steady stream of higher-priority processes can prevent a low-priority process from ever getting the CPU. There have been rumors that in 1967 Priority Scheduling was used in IBM 7094 at MIT, and they found a low-priority process that had not been submitted till 1973.


Reasons of Starvation:

  • There are not enough resources available to everyone during starvation, and processes begin to lose priority.
  • If higher-priority processes continuously monopolize the processor, a lower-priority operation might have to wait indefinitely. As a result of the low-priority programs not communicating with anything, Starvation cannot result in a standstill.
  • A process may have to wait a lengthy period if a random selection of processes is employed due to non-selection.
  • Since starvation is a failsafe way to break a deadlock, the way it impacts the system as a whole is far more crucial.
  • Starvation may result if a process is never given the resources it needs to be executed due to poor resource allocation decisions.

How to Control Starvation?

  • Resource distribution can be handled by an impartial manager. In an effort to prevent starvation, this resource manager allocates resources equitably.
  • It is best to avoid choosing processes at random when allocating processors or resources because this promotes starvation.
  • The principles of Ageing, where a process’s priority increases the longer it waits to prevent starvation, should be included in the resource allocation priority system.

Comments ()


Sign in

Read Next

10 Things To Do On Valentine's Day If You're Single

Blog banner

Unlocking the Secrets: Basic Operations of Computer Forensic Laboratories

Blog banner

Throttle engine ’Sneak peek into the future’

Blog banner

City2Surf & Spring Fitness Recovery Guide: How Sports Drinks Silently Damage Enamel

Blog banner

Evolution of Operating system

Blog banner

Paddle Through Paradise: The Best Kayak Launch Points Near Arcadia

Blog banner

What is Virtual Memory

Blog banner

A Review on Data Acquisition in Cyber Forensics

Blog banner

EMAIL INVESTIGATION

Blog banner

Why Social Search Is Becoming the New Discovery Channel for Brands?

Blog banner

CSI and Organizational Change

Blog banner

Functions of Operating System

Blog banner

10 Reasons to date your best friend

Blog banner

Top 5 Tech Innovations of 2018

Blog banner

TOGETHER WE CAN CONQUER #team

Blog banner

The Role of cryptography in cyber security

Blog banner

Why Should You Schedule Tweets on Twitter?

Blog banner

Arcadia Antique District: A Treasure Hunter’s Guide to Vintage Finds

Blog banner

What Makes Traditional God Keri Aachar So Special?

Blog banner

The Laws of Karma

Blog banner

INTERNET SECURITY

Blog banner

Meal Maharaj — 3 CP, 5 CP, 8 CP. Same Love, Different Portions

Blog banner

Mumbai

Blog banner

Types of threads

Blog banner

Note on Process, Process creation and Process termination

Blog banner

Fashion marketing in india

Blog banner

Theads

Blog banner

PHISHING

Blog banner

The application udemy

Blog banner

Introduction to Virtual Memory - 080

Blog banner

Different Types of Data

Blog banner

Working with Sniffers for monitoring network communication

Blog banner

IT service level agreement

Blog banner

KAHAWA TEA

Blog banner

Memory Management

Blog banner

A Complete Guide to Satvik Indian Powder Masalas and Their Everyday Uses

Blog banner

INDIAN CHEAPEST COSMETICS BRAND

Blog banner

Explain website hacking issues

Blog banner

Process states

Blog banner

R Programming

Blog banner

Celebrate Diwali the Delicious Way with Meal Maharaj Catering

Blog banner

Beauty of indian railway

Blog banner