Basic Resource Allocation Fairness
Contributors Download PDF of this page
In this section, we show that, when
team-d asks for more GPUs (they are under their quota), the system pauses the workloads of
team-c and moves them into a pending state in a fair-share manner.
For details including job submissions, container images used, and command sequences executed, see the section Testing Details for Section 4.9.
The following figure shows the resulting cluster utilization, GPUs allocated per team, and pending jobs due to automatic load balancing and preemptive scheduling. We can observe that when the total number of GPUs requested by all team workloads exceeds the total available GPUs in the cluster, Run:AI’s internal fairness algorithm pauses one job each for
team-c because they have met their project quota. This provides overall high cluster utilization while data science teams still work under resource constraints set by an administrator.
The results of this testing scenario demonstrate the following:
Automatic load balancing. The system automatically balances the quota of the GPUs, such that each team is now using their quota. The workloads that were paused belong to teams that were over their quota.
Fair share pause. The system chooses to stop the workload of one team that was over their quota and then stop the workload of the other team. Run:AI has internal fairness algorithms.