With RR, interactive computing is possible. Why does RR enable interactive computing? The traditional UNIX scheduler enforces...

60.1K

Verified Solution

Question

Programming

  1. With RR, interactive computing is possible. Why does RR enableinteractive computing?
  2. The traditional UNIX scheduler enforces an inverse relationshipbetween priority numbers and priorities: The higher the number, thelower the priority. The scheduler recalculates process prioritiesonce per second using the following function:

Priority = (recent CPU usage / 2 ) +base

where base = 60 and recent CPUusage refers to a value indicating how often a process hasused the CPU since priorities were last recalculated.

Assume that recent CPU usage forprocess P1 is 40, process P2 is 18, and process P3 is 10.

  1. What will be the new priorities for these three processes whenpriorities are recalculated?
  2. Based on this information, does the traditional UNIX schedulerraise or lower the relative priority of a CPU-bound process?

Answer & Explanation Solved by verified expert
4.1 Ratings (731 Votes)
Round Robin Scheduling RR per priority is suitable for interactive computing It is made possible by multilevel feedback scheduling It adjusts the priority dynamically and main aim is to place process automatically based on the recent CPU usage Thus it avoids the problem of starvation to an extent Eventhough if there are a number of interactive process will becomes ready for execution then    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students