Describe round robin scheduling. What is the parameter associated with the scheduler?
What is the issue in chosing the parameter
Answer:
-Round-robin scheduling works by giving each process a “timeslice” to run in, implemented by a ready queue and a regular timer interrupt. When a timeslice expires, the next process pre-empts the current process and runs for its timeslice, putting the pre-empted process at the end of the queue. The parameter concerned with it is the timeslice, which has to be exactly the right size. If it was too short, there is a large overhead every time it expires and the context switches, if it was too long, then we might
end up with an unresponsive system.