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

支持流计算的(重新)分区

(Re)partitioning for stream-enabled computation

Le Merrer Erwan, Liang Yizhong, Trédan Gilles

摘要:

在一组工作者上划分输入图是一个复杂的操作。目标有两个:平均分配工作,使每个工人都得到平等的份额,并尽量减少切边,以实现良好的工作地点(即工人可以独立工作)。划分可从内存访问的图是一个臭名昭著的NP完全问题。出于对流处理范式(节点和边作为流到达数据中心)重新产生兴趣的动机,我们在本文中提出了一种支持流的图分区系统,该系统不断寻求这两个目标之间的最佳值。我们首先暴露了使用经典和静态方法划分的难度,然后从应用程序的角度展示了切割与负载均衡的权衡。考虑到这种权衡,我们的方法将在线分区问题转化为标准的优化问题。贪心算法处理传入的图更新流,同时按需触发优化以改进贪婪决策。使用模拟,我们表明,这种方法是非常有效的,把一个基本的优化策略,如爬山到一个在线分区的解决方案,相比之下,文学最近的流分区解决方案。

英文摘要:

Partitioning an input graph over a set of workers is a complex operation. Objectives are twofold: split the work evenly, so that every worker gets an equal share, and minimize edge cut to achieve a good work locality (i.e. workers can work independently). Partitioning a graph accessible from memory is a notorious NP-complete problem. Motivated by the regain of interest for the stream processing paradigm (where nodes and edges arrive as a flow to the datacenter), we propose in this paper a stream-enabled graph partitioning system that constantly seeks an optimum between those two objectives. We first expose the hardness of partitioning using classic and static methods; we then exhibit the cut versus load balancing tradeoff, from an application point of view. With this tradeoff in mind, our approach translates the online partitioning problem into a standard optimization problem. A greedy algorithm handles the stream of incoming graph updates while optimizations are triggered on demand to improve upon the greedy decisions. Using simulations, we show that this approach is very efficient, turning a basic optimization strategy such as hill climbing into an online partitioning solution that compares favorably to literature's recent stream partitioning solutions.

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

↑