wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Starvation

profile
Raj Darji 1501
Aug 14, 2024
0 Likes
0 Discussions
210 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 Reasons to date your best friend

Blog banner

BrainGate Technology

Blog banner

Why Eating a Variety of Foods Is Important for Complete Nutrition?

Blog banner

Big Data

Blog banner

Memory Management

Blog banner

INTERNET SECURITY

Blog banner

Why Makhana Is Becoming India’s Favourite Healthy Snack?

Blog banner

Chicken Dum Biryani

Blog banner

DMZ: Your Secret Weapon for Data Security

Blog banner

Survey of Which Movies Types people are Prefer to Watch in India.

Blog banner

Raid and levels of raid.

Blog banner

Indian Food

Blog banner

Fossil Hunting 101 at the Peace River, Arcadia, Florida, USA

Blog banner

The Five Steps of Data Science

Blog banner

Sessions In OS.

Blog banner

Importance of education

Blog banner

S-Tool : Steganography

Blog banner

Short-Form Video Marketing: Why It's Dominating the Internet

Blog banner

Digital Balance: Keeping Children Mindful in the Screen Age

Blog banner

Cyber Bullying - Neeta Vonkamuti

Blog banner

KEAP MANAGEMENT SYSTEM

Blog banner

Exploring Florida Beyond the Obvious Tourist Trails

Blog banner

MPL and how its effects?

Blog banner

Analysis of Digital Evidence In Identity Theft Investigations

Blog banner

Introduction to Data Science: Life Cycle & Applications

Blog banner

Artical on FreshBooks

Blog banner

Microsoft Windows Overview

Blog banner

Starvation

Blog banner

Synchronization

Blog banner

Celebrate Raksha Bandhan with Premium Dry Fruit Gift Hampers

Blog banner

Depression

Blog banner

I/O Buffering

Blog banner

What is M-commerce and how it's work

Blog banner

The functions of operating system

Blog banner

Microsoft powerpoint presentation

Blog banner

How can denial-of-service(Dos) attacks be prevented?

Blog banner

Title: Network Sniffing Techniques: Uncovering the Secrets of Data Transfer

Blog banner

What is the point of living if we can die at any moment of our lives ?

Blog banner

Hubspot

Blog banner

Finding Meaning, and Identity : Understanding Existential Concerns and Mental Well-being

Blog banner

IT Service as as Value Creation

Blog banner

Automating OSINT tasks for efficient Cyber Forensics Investigations

Blog banner