Comparison between Fair Scheduler and capacity Scheduler

Source: Internet
Author: User

1, Fair Scheduler

Facebook has developed a scheduler for shared environments that supports multi-user multi-group management, each of which can configure the amount of resources, or limit the number of concurrent runs in each user and per group, and each user's job has priority, and the higher the priority, the more resources are allocated.

2, Capacity Scheduler

Yahoo developed a suitable for the shared environment of the scheduler, support multi-user multi-queue management, each queue can configure the amount of resources, can also limit the number of concurrent running jobs per user and per queue, or limit the amount of memory used by each job, each user's job has priority, in a single queue, The job is dispatched on a first-come-first-served basis (in fact, by priority, the same priority, and then by job submission time).

3, the same point

[1] All support multi-user multi-queue, that is applicable to multi-user shared cluster application environment

[2] Single queue support priority and FIFO scheduling mode

[3] All support resource sharing, that is, a queue of resources in the remaining, can be shared to other resource-scarce queue

4, different points

[1] The core scheduling strategy is different. The scheduling strategy of the computing power Scheduler is to select the queue with low resource utilization, and then consider the FIFO and memory constraint factors in the queue, while the Fair scheduler only considers fairness, and fairness is manifested through the job vacancy. The scheduler selects the job with the most vacancies (the amount of resources in the queue, the job priority, etc. only for the calculation of job vacancies)


[2] memory constraints. The compute Power Scheduler schedules the job to account for the memory limits of the jobs, which may be assigned to multiple slots in order to meet the special memory requirements of some special job, while the fair Scheduler can only kill the task if it is powerless against this particular job.


This article is from the "Wipe" blog, be sure to keep this source http://qishi23.blog.51cto.com/4820716/1599138

Comparison between Fair Scheduler and capacity Scheduler

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.