首页> 外文会议>Annual ACM SIGPLAN-SIGACT symposium on principles of programming languages >A Shape Analysis for Optimizing Parallel Graph Programs
【24h】

A Shape Analysis for Optimizing Parallel Graph Programs

机译:用于优化并行图计划的形状分析

获取原文

摘要

Computations on unstructured graphs are challenging to parallelize because dependences in the underlying algorithms are usually complex functions of runtime data values, thwarting static paralleliza-tion. One promising general-purpose parallelization strategy for these algorithms is optimistic parallelization. This paper identifies the optimization of optimistically parallelized graph programs as a new application area, and develops the first shape analysis for addressing this problem. Our shape analysis identifies failsafe points in the program after which the execution is guaranteed not to abort and backup copies of modified data are not needed; additionally, the analysis can be used to eliminate redundant conflict checking. It uses two key ideas: a novel top-down heap abstraction that controls state space explosion, and a strategy for predicate discovery that exploits common patterns of data structure usage. We implemented the shape analysis in TVLA, and used it to optimize benchmarks from the Lonestar suite. The optimized programs were executed on the Galois system. The analysis was successful in eliminating all costs related to rollback logging for our benchmarks. Additionally, it reduced the number of lock acquisitions by a factor ranging from lO× to 50×, depending on the application and the number of threads. These optimizations were effective in reducing the running times of the benchmarks by factors of 9× to 12×.
机译:非结构化图上的计算对并行化具有具有挑战性,因为底层算法中的依赖性通常是运行时数据值的复杂功能,挫败静态并行zion。这些算法的一个有希望的通用并行化策略是乐观的并行化。本文识别优化乐观并行化图计划作为新应用区域,并开发了解决此问题的第一个形状分析。我们的形状分析识别程序中的故障安全点,之后保证执行不中止并不需要修改数据的备份副本;此外,分析可用于消除冗余冲突检查。它使用了两个关键的想法:控制状态空间爆炸的新型自上而下的堆抽象,以及用于利用数据结构使用的共同模式的谓词发现的策略。我们在TVLA中实现了形状分析,并用它来优化来自Lonestar Suite的基准。优化的程序在Galois系统上执行。分析取得了成功的,消除了与我们的基准测试的回滚测井相关的所有费用。此外,它将锁定获取的数量减少了从LO×到50×的因子,具体取决于应用程序和线程数。这些优化可有效地通过9×至12倍的因素减少基准的运行时间。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号