Fair Scheduler
As the name suggests, Fair Scheduler is designed to provide each user with an equal share of all of the cluster resources. In this context, a resource is CPU time, GPU time, or memory required for a job to run. So, each job submitted to this Scheduler makes progress periodically with an equal share or average resource sharing. The sharing of resources is not based on the number of jobs, but on the number of users. So, if User A has submitted 20 jobs and User B has submitted two jobs, the probability of User B finishing their jobs is higher, because of the fair distribution of resources done at user level. Fair Scheduler allows the creation of queues, which can have resource allocation. Now, each queue applies the FIFO policy ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access