wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Starvation

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

Worms, viruses and Bots

Blog banner

OPERATING SYSTEM

Blog banner

Evolution of operating system

Blog banner

The War With Cold On Earth

Blog banner

What Makes Patola the Queen of Silk?

Blog banner

OS DESIGN CONSIDERATIONS FOR MULTIPROCESSOR

Blog banner

Biometric Authentication Vulnerabilities

Blog banner

Artificial Intelligence (AI)

Blog banner

Title: Modern Operating Systems: Powering the Digital Era

Blog banner

Operating system

Blog banner

virtual machines and virtualization

Blog banner

Self-love: Being the reason of your own smile

Blog banner

How return on investment is defined in IT services

Blog banner

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

Blog banner

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

Blog banner

Supervised and unsupervised learning

Blog banner

I/O Management and Disk Scheduling

Blog banner

The Importance of Financial Literacy for College Students

Blog banner

Save Environment

Blog banner

PERSONALITY DEVELOPMENT

Blog banner

WAKE UP ITS FOOD o'CLOCK...!!!!!

Blog banner

Why Time Management Is the Secret to College Success (and How to Master It)

Blog banner

File management

Blog banner

Brilliant WhatsApp Features Upcoming in 2023

Blog banner

E-BUSINESS RISK MANAGEMENT

Blog banner

PROCESS CONTROL BLOCK IN OS

Blog banner

Decoding the Weave — How to Identify Original Patola Art on a Fabric

Blog banner

Disk cache

Blog banner

Lifestyle of a photographer

Blog banner

Memory Management

Blog banner

Evolution of Operating system.

Blog banner

Embaded operating system

Blog banner

Design Considerations for Disk Cache Management

Blog banner

Improving the Accuracy of GPS and GNSS

Blog banner

Analysis of Digital Evidence In Identity Theft Investigations

Blog banner

Digital black market or dark net poses a national security threat?

Blog banner

Uniprocessor scheduling

Blog banner

Classification Algorithms (Decision trees, SVM, Logistic regreession)

Blog banner

Why Extreme Opinions Are Rising: Psychological Insights into Society’s Divides

Blog banner

Unlocking Success: Mastering Google Ads Strategies

Blog banner

Four Stalls Every Vegetarian Needs To Eat At Outside Vile Parle Station

Blog banner

Malware

Blog banner