Questions tagged [round-robin]

Process scheduling algorithm based on time slice.A time quanta is given to each process for its execution. as the time slice is expired,the other process is allowed to execute.

Round robin (RR) is one of the simplest scheduling algorithms for processes in an operating system. As the term is generally used, time slices are assigned to each process in equal portions and in circular order, handling all processes without priority (also known as cyclic executive). If a process hasn't finished by the end of the time slice, it is moved to the back of the queue so the next process in line can have its turn. Round-robin scheduling is simple, easy to implement, and starvation-free. Round-robin scheduling can also be applied to other scheduling problems, such as data packet scheduling in computer networks.

The name of the algorithm comes from the round-robin principle known from other fields, where each person takes an equal share of something in turn

312 questions
0
votes
1 answer

How do I make a round robin match schedule?

I am building a tournament schedule with round robin style match order. I have an algorithm set up to build the matches, however the match order is not what I am looking for. I am struggling to develop an algorithm that will build the matches in my…
BPierce
  • 53
  • 5
0
votes
1 answer

How to analyze (very incomplete) round-robin data

I have a design in which I have pairs of individuals that compete against each other. Each pair thus has one winner. A vs B B wins B vs C C wins ... I have also measured a continuous variable (X) of each individual and I expect that X predicts…
xoph09
  • 1
0
votes
1 answer

trying to get who id of a single : "cpu 0 is not a . error while observer running "

i am trying to get the who id of a single process (the process is a turtle) but i got this error : " cpu 0 is not a PROCESS error while observer running PROCESS. Called by procedure GO. Called by button go" i need this who id because i want that…
0
votes
1 answer

List manipulation for a Conditional Round-Robin Rugby Draw

One of the Rugby Coaches at my school have asked me to code a conditional rugby match draw for the upcoming games with the task laid out something like this: Given a list of teams from 1 - 12 split into 3 groups ([Group1 = 1, 2, 3, 4], [Group2 = 5,…
0
votes
1 answer

Azure Front Door - not all the nodes are in load balancing

My front door setup: back end pool with 5 vm's instances each one has weight 50, priority 1 Backend request count graph: Graph In grafana i see the same requests distribution, only two nodes under the load balancer. Is there any solution to setup…
0
votes
0 answers

Round Robin Scheduling Algorithm in JavaScript

i implemented RR scheduling algorithm with arrival time in javascript. but it have some issues. it is not give the right answer. process queue show correctly function roundrobin(p,a,b,n){ var seq=[] var res_b=[]; var…
0
votes
1 answer

Change quantum value in cloudsim stimulator

It is possible to change the quantum value when I use the CloudleschedulerTimeShared in order to apply Round robin algorithm for scheduling the tasks.
0
votes
1 answer

Condition variable spurious wakeup/round robin tasks

I'm new to C++ threading and I'm trying to write a round robin (cooperative) task manager using C++ threads. Is the declaration of round_robin_task_ulock below valid - it's a global static variable. I want to defer locking the mutex until the task…
Alpha
  • 89
  • 7
0
votes
1 answer

How should HAProxy with round-robin load balancing work?

It seems to me that round-robin load-balancing by HAProxy is not always round-robin. Or is it a bug? I am load-balancing hive-server2 instances. I have 3 instances to serve Hive queries. Client is beeline. When I am running my long tests on this…
Aron
  • 43
  • 5
0
votes
0 answers

Duplicate IPs for nodes causing backup issues

We have a four node cluster (SQL Server 2014 on Windows 12) and we recently setup heart beat network on the nodes following a best practices source after experiencing some cluster instability issues. Ever since a couple of secondary nodes are…
0
votes
1 answer

How subcribe multiple MQTT clients to queue in solace

I'm try subcribe multiple MQTT clients a same topic(queue) in solace, because i need round robin balancing for my service. How i create a queue non-exclusive with multiples clients? Can i create by solace CLI a custom config? Thanks
OTE
  • 1
  • 1
0
votes
1 answer

3v3 round robin schedule generator

I have been asked to create round robin schedules for a 3v3 volleyball tournament where the following criteria must be met: (from most important to least important) Each player plays with another no more than once Each player gets to play at…
Caleb
  • 56
  • 7
0
votes
1 answer

How can we specify the execution time for any virtual machine (vm) in cloudsim simulator

if we have 50 cloudlets/tasks and 1 virtual machine (vm) how can we make vm to run for specific time in order to apply RR method and cloudelts are run in time slice or quantum
0
votes
1 answer

Two separate file server available with one address

I have two separate file servers with different files inside. For example: Server 1: file1.mp4 file2.mp4 Server 2. file3.mp4 file4.mp4 What would be the easiest way to access the files with the same domain? For…
0
votes
2 answers

Round-robin scheduling and deadlock

Does round-robin scheduling ever cause deadlock? What happens if the CPU scheduling is based on round-robin and at one point in the schedule two different processes request the same file that no process owns? Would that cause deadlock or would the…
user246392
  • 2,661
  • 11
  • 54
  • 96