3,849 views
1 votes
1 votes

The following processes are being scheduled using a preemptive, roundrobin scheduling algorithm. Each process is assigned a numerical priority, with a higher number indicating a higher relative priority. In addition to the processes listed below, the system also has an idle task (which consumes no CPU resources and is identified as Pidle ). This task has priority 0 and is scheduled whenever the system has no other available processes to run. The length of a time quantum is 10 units.


If a process is preempted by a higher-priority process, the preempted process is placed at the end of the queue.

Thread Priority Burst Arrival
P1 40 20 0
P2 30 25 25
P3 30 25 30
P4 35 15 60
P5 5 10 100
P6 10 10 105

In this question, they are talking about preemption of a lower-priority process by a higher priority process.... I mean, isn't it the case that in Round Robin, we neglect the priorities and schedule only on the basis of time quantum ?

Please log in or register to answer this question.

Related questions

2.2k
views
1 answers
1 votes
admin asked Oct 25, 2019
2,185 views
Measurements of a certain system have shown that the average process runs for a time $T$ before blocking on $I/O$. A process switch requires a time $S$, which is effectiv...
2.4k
views
1 answers
0 votes
admin asked Oct 25, 2019
2,354 views
Explain how time quantum value and context switching time affect each other, in a round-robin scheduling algorithm.
421
views
2 answers
1 votes
delxbydelt asked Mar 15
421 views
Consider a uniprocessor system with n processes in the ready queue. Round robin scheduling with time quantum x is used for process scheduling. Assume each process require...