514 views
–1 votes
–1 votes

 Onetechniqueforimplementinglotteryschedulingworksbyassigning processeslotterytickets,which are used for allocating CPU time.Whenever a scheduling decision has to be made, a lottery ticket is chosen at random, and the process holding that ticket gets the CPU. TheBTV operating system implements lottery scheduling by holding a lottery 50 times each second, with each lottery winner getting 20 milliseconds of CPU time (20 milliseconds × 50 = 1 second). Describe how the BTV schedulercanensurethathigher-prioritythreadsreceivemoreattention from the CPU than lower-prioritythreads

consider on example and explain this scheduling algo.

Please log in or register to answer this question.

Related questions

3 votes
3 votes
1 answer
1
Arjun asked Jul 18, 2015
2,146 views
A player in the Powerball lottery picks five different integers between 1 and 59, inclusive, and a sixth integer between 1 and 39, which may duplicate one of the earlier ...
0 votes
0 votes
0 answers
4
roopkathaaa asked Aug 30, 2023
366 views
Let the base priority of a system be 130 and the nice value provided is -10. What is the time slice that the process gets in the O(1) scheduling algorithm?if it should be...