wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Starvation

profile
Raj Darji 1501
Aug 14, 2024
0 Likes
0 Discussions
204 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

The Evolution of Operating Systems

Blog banner

The Five Steps of Data Science

Blog banner

Career v/s Job : Choose your passion

Blog banner

Types of Threads

Blog banner

Importance of modern technology era

Blog banner

You Get Everyone, But No One Gets You: The Lonely Side of High Emotional Intelligence

Blog banner

Real-Time Operating Systems (RTOS) Deep Explanation

Blog banner

The launch of UniMap by HERE

Blog banner

A Happier Workplace Starts with Healthy Lunches by Meal Maharaj

Blog banner

How to Conquer Depression ?

Blog banner

Memory heirchy

Blog banner

memory cache

Blog banner

What are the different types of E-mail crime and process of email forensic?

Blog banner

Famous Indian dishes that where misunderstood to be Indian

Blog banner

MACHINE LEARNING

Blog banner

Importance of Education

Blog banner

DIGITAL ECONOMY

Blog banner

Mariana Trench: The deepest depths

Blog banner

STARVATION

Blog banner

Microsoft Word

Blog banner

Blockchain in IoT Applications

Blog banner

AI and cyber Security

Blog banner

The House ??of Patola Designs: Traditional Weaves with a Modern Twist

Blog banner

How I use google in my daily life

Blog banner

Importance of Website

Blog banner

Social Media Sentiment Analysis

Blog banner

Network Footprinting in Cybersecurity

Blog banner

Thumb Sucking: When It’s Normal and When It Becomes a Dental Problem

Blog banner

Pooja Silver

Blog banner

INDIAN CHEAPEST COSMETICS BRAND

Blog banner

What your Favorite colour says about You?

Blog banner

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

Blog banner

Direct Memory Access

Blog banner

Hash password! Is it really secured?

Blog banner

Mumbai local ......

Blog banner

How Harshad Valia International School is nurturing India’s Young Minds?

Blog banner

Autonomy Vehicles: Future Ki Gadiya

Blog banner

Mendeley (management software)

Blog banner

POSITIVE ATTITUDE IN LIFE

Blog banner

BEAUTY IS IN THE EYE OF THE BEHOLDER

Blog banner

Safe Learning Spaces: Why Preschool Environment Matters More Than Ever Today

Blog banner

"Life as a Part-time Student"

Blog banner