wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Starvation

profile
Shreya Mantry
Sep 09, 2024
0 Likes
0 Discussions
69 Reads
  • WHAT IS STARVATION?

Starvation is a problem where a process runs out of resources in the OS because those resources are being utilized by other processes. That means that a process terminates without completion due lack of resources. Another name for starvation is Lived lock.


  • WHEN DOES STARVATION OCCUR?

Starvation can occur where a process is unable to obtain a necessary resource, such as CPU time, memory, or I/O resources, for an extended period. This typically occurs because other processes or threads are monopolizing the resource, preventing fair access for others. Resource allocation mechanisms within an operating system, like scheduling algorithms, are responsible for managing and preventing starvation.


  • CAUSES OF STARVATION

~ One of the main causes of starvation is an unfair scheduling policy. Some scheduling algorithms, such as the Priority Scheduling algorithm, favor high-priority processes over low-priority ones. If the system is busy with high-priority processes, the low-priority processes might be left waiting indefinitely.

~ Another cause could be resource allocation issues. If a certain process holds a resource that another process needs to continue execution, and it doesn't release it, the waiting process can starve


  • SOLUTION

Starvation can be cured using a technique that is regarded as aging. In aging, priority of process increases with time and thus guarantees that poor processes will equally run in the system. 


  • DIFFERENCE BETWEEN DEADLOCK AND STARVATION

Deadlock is a state where all processes become blocked and the processes are waiting for their resources to be released, whereas in a starvation situation, a process is never given a chance to execute because it is always preempted by a higher-priority process.


Comments ()


Sign in

Read Next

CyberSecurity Color Wheel

Blog banner

SECURITY VULNERABILITIES COUNTERMEASURES IN A SMART SHIP SYSTEM

Blog banner

Raid and levels of raid.

Blog banner

Amazon

Blog banner

Risk management in IT

Blog banner

Memory Management

Blog banner

Meshoo

Blog banner

Metasploit

Blog banner

Review on Cyber Forensics and its Analysis Tools

Blog banner

Virtual memory

Blog banner

Smitten Kitchen Keepers

Blog banner

Financial Fraud Detection

Blog banner

10 Reasons to date your best friend

Blog banner

Compromising Mobile Platforms

Blog banner

Ethical Hacking

Blog banner

Cyber Attacks -- Trends Patterns and Security Countermeasures

Blog banner

File sharing

Blog banner

All you need to know about Cassandra

Blog banner

Beauty of indian railway

Blog banner

Krishna Rao SAP ID--53003230076

Blog banner

VPN

Blog banner

Evolution of Operating system

Blog banner

Computer Security

Blog banner

MAILFENCE

Blog banner

Real-time Scheduling - 53003230061

Blog banner

MYNTRA

Blog banner

Self managing devices

Blog banner

Memory Management

Blog banner

Worms, viruses and Bots

Blog banner

Exploring Virtual Machines and Computer Forensic Validation Tools

Blog banner

A MODERN OPERATING SYSTEM

Blog banner

Understanding Mobile Device Forensics

Blog banner

Install Ubuntu in Vmware

Blog banner

Puri Jagannath temple

Blog banner

EVOLUTION OF MICROPROCESSOR

Blog banner

Why You Need 2FA (Two-Factor Authentication) On Your Email And Other Online Accounts

Blog banner

Mail merge

Blog banner

Operating System

Blog banner

SPEM

Blog banner

K-means use cases

Blog banner

ZOHO

Blog banner

PODIO

Blog banner