The Gateway to Computer Science Excellence
0 votes
578 views

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 ?

in Operating System by Active (1.3k points) | 578 views
0

@himgta, it creates confusion for me... did you give conclusion of that link ?

0
I think that we can not neglect the priorities (as mentioned in the link), we have to take together both the time quantum and priorities!
0
please continue the explanation...

Please log in or register to answer this question.

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,644 questions
56,531 answers
195,622 comments
101,346 users