Tromino:Apache Mesos集群的按需和DRF感知多租户队列管理器
Tromino: Demand and DRF Aware Multi-Tenant Queue Manager for Apache Mesos Cluster
摘要:
Apache Mesos是一个两级资源调度器,在多租户集群环境中提供跨多个用户的资源共享。计算资源(即,CPU、内存、磁盘等)根据主导资源公平(DRF)策略进行分配。Mesos框架(用户)根据其当前使用情况接收资源,并负责在分配范围内调度其任务。我们已经观察到,在多用户环境中,多个框架可能会导致公平性不平衡。例如,一个贪婪的框架消耗了超过其公平份额的资源,可以拒绝对其他人的资源公平性。DRF模块首先考虑具有最小主导份额的用户以获得其资源分配。然而,Apache Mesos的主分配模块中的默认DRF实现并不考虑每个用户/框架队列中任务的总体资源需求。这种意识的缺乏可能导致没有任何未决任务的用户接收更多的资源提供,而具有未决任务队列的用户由于其高主导份额而挨饿。我们已经开发了一个策略驱动的队列管理器,Tromino,为Apache Mesos集群的任务,为各个框架可以根据每个框架的整体资源需求和当前的资源消耗进行调度。Tromino的主导份额和需求感知以及基于这些属性的调度可以减少(1)由于框架特定配置而导致的不公平的影响,以及(2)由于未决任务队列中的较高资源需求而导致的不公平的等待时间。在最好的情况下,Tromino可以通过使用所提出的Demand-DRF感知策略来显着减少框架的平均等待时间。
英文摘要:
Apache Mesos, a two-level resource scheduler, provides resource sharing across multiple users in a multi-tenant cluster environment. Computational resources (i.e., CPU, memory, disk, etc. ) are distributed according to the Dominant Resource Fairness (DRF) policy. Mesos frameworks (users) receive resources based on their current usage and are responsible for scheduling their tasks within the allocation. We have observed that multiple frameworks can cause fairness imbalance in a multiuser environment. For example, a greedy framework consuming more than its fair share of resources can deny resource fairness to others. The user with the least Dominant Share is considered first by the DRF module to get its resource allocation. However, the default DRF implementation, in Apache Mesos' Master allocation module, does not consider the overall resource demands of the tasks in the queue for each user/framework. This lack of awareness can result in users without any pending task receiving more resource offers while users with a queue of pending tasks starve due to their high dominant shares. We have developed a policy-driven queue manager, Tromino, for an Apache Mesos cluster where tasks for individual frameworks can be scheduled based on each framework's overall resource demands and current resource consumption. Dominant Share and demand awareness of Tromino and scheduling based on these attributes can reduce (1) the impact of unfairness due to a framework specific configuration, and (2) unfair waiting time due to higher resource demand in a pending task queue. In the best case, Tromino can significantly reduce the average waiting time of a framework by using the proposed Demand-DRF aware policy.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。