【24h】

Load-Balancing Parallel Relational Algebra

机译:负载均衡并行关系代数

获取原文

摘要

Relational algebra (RA) comprises a basis of important operations, sufficient to power state-of-the-art reasoning engines for Datalog and related logic-programming languages. Parallel RA implementations can thus play a significant role in extracting parallelism inherent in a wide variety of analytic problems. In general, bottom-up logical inference can be implemented as fixed-point iteration over RA kernels; relations dynamically accumulate new tuples of information according to a set of rules until no new tuples can be discovered from previously inferred tuples and relevant rules (RA kernels). While this strategy has been quite successful in single-node contexts, it poses unique challenges when distributed over many-node, networked clusters- especially regarding how the work-load is balanced across available compute resources.In this paper, we identify two fundamental kinds of load imbalance and present a strategy to address each. We investigate both spatial load imbalance-imbalance across each relation (across compute nodes)-and temporal load imbalance-imbalance in tuples produced across fixed-point iterations. For spatial balancing, we implement refinement and consolidation procedures. For temporal balancing, we implement a technique that permits the residual workload from a busy iteration to roll over to a new iteration. In sum, these techniques permit fully dynamic load-balancing of relational algebra that is robust to changes across time.
机译:关系代数(RA)包含重要运算的基础,足以为Datalog和相关逻辑编程语言提供最新的推理引擎。因此,并行RA实现可以在提取各种分析问题中固有的并行性方面发挥重要作用。通常,自底向上的逻辑推理可以实现为RA内核上的定点迭代。关系根据一组规则动态累积新的元组信息,直到无法从先前推断的元组和相关规则(RA内核)中发现新的元组。尽管该策略在单节点环境中非常成功,但是当它分布在多节点的网络集群上时,尤其是在如何平衡可用计算资源之间的工作负载时,提出了独特的挑战。在本文中,我们确定了两种基本类型负载不平衡问题,并提出解决方案。我们研究了跨每个关系(跨计算节点)的空间负载不平衡-不平衡,以及跨定点迭代产生的元组中的时间负载不平衡-不平衡。为了实现空间平衡,我们实施完善和合并程序。对于时间平衡,我们实现了一种技术,该技术允许将繁忙的迭代中的剩余工作负载转移到新的迭代中。总而言之,这些技术可以实现关系代数的完全动态负载平衡,从而对随时间的变化具有鲁棒性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号