arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1810.00988cs.PF
收藏

用于公共云中并行处理的异构MacroTasking(HeMT)

Heterogeneous MacroTasking (HeMT) for Parallel Processing in the Public Cloud

Yuquan Shan, George Kesidis, Bhuvan Urgaonkar, Jorg Schad, Jalal Khamse-Ashari, Ioannis Lambadaris

摘要:

在并行计算系统中,使用微小的、大小相等的任务(Homogeneous microTasking,HomT)一直被认为是一种有效的负载均衡方法。当与在空闲时拉入工作的节点结合时,HomT具有自动使其负载分布适应参与节点的处理能力的理想特性-更强大的节点更快地完成其工作,因此更快地拉入额外的工作。因此,HomT被认为在具有异构(并且可能具有动态变化的)处理能力的设置中特别理想。然而,HomT确实具有额外的调度和I/O开销,这可能使这种负载均衡方案在某些场景中成本高昂。在本文中,我们首先分析了HomT的这些优点和缺点。然后,我们提出了一种替代的负载均衡计划-异构宏任务(HeMT)-其中的工作负载是有意根据节点的处理能力分区。我们的目标是研究HeMT何时能够克服HomT的性能缺点。我们在Apache Spark应用程序框架内实现了HeMT的原型,并对Apache Mesos集群管理器进行了补充增强。Spark的内置调度器在适当参数化时实现了HomT。我们的实验结果表明,HeMT优于HomT时,准确的工作负载特定的估计节点的处理能力的学习。作为代表性的结果,Spark with HeMT为实际数据处理工作负载提供了比默认系统高出约10%的平均完成时间。

英文摘要:

Using tiny, equal-sized tasks (Homogeneous microTasking, HomT) has long been regarded an effective way of load balancing in parallel computing systems. When combined with nodes pulling in work upon becoming idle, HomT has the desirable property of automatically adapting its load distribution to the processing capacities of participating nodes - more powerful nodes finish their work sooner and, therefore, pull in additional work faster. As a result, HomT is deemed especially desirable in settings with heterogeneous (and possibly possessing dynamically changing) processing capacities. However, HomT does have additional scheduling and I/O overheads that might make this load balancing scheme costly in some scenarios. In this paper, we first analyze these advantages and disadvantages of HomT. We then propose an alternative load balancing scheme - Heterogeneous MacroTasking (HeMT) - wherein workload is intentionally partitioned according to nodes' processing capacity. Our goal is to study when HeMT is able to overcome the performance disadvantages of HomT. We implement a prototype of HeMT within the Apache Spark application framework with complementary enhancements to the Apache Mesos cluster manager. Spark's built-in scheduler, when parameterized appropriately, implements HomT. Our experimental results show that HeMT out-performs HomT when accurate workload-specific estimates of nodes' processing capacities are learned. As representative results, Spark with HeMT offers about 10% better average completion times for realistic data processing workloads over the default system.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑