GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Operating System  >  Windows & Unix

 Print  |  
Question:  Starvation

Answer: What is Starvation? How starvation is avoided in UNIX and WINDOWS Operating System?


February 02, 2009 05:04:24 #1
 karan_gtnit   Member Since: February 2009    Total Comments: 1 

RE: Starvation
 
Starvation takes place when a low-priority process does not get CPU time bcoz of higher priority  processes keep coming.
this can be removed by "AGING"
In this A Process waiting for a particular time in queue (Eg:15 min)
Gets its Priority increased by 1.
Eg: If a process has priority 10, then it will reach priority 1 in (15*10)=150 mins.
     

 

Back To Question