首页> 外文会议>ACM SIGPLAN conference on Programming language design and implementation >Min-cut program decomposition for thread-level speculation
【24h】

Min-cut program decomposition for thread-level speculation

机译:最小剪切程序分解,用于线程级推测

获取原文

摘要

With billion-transistor chips on the horizon, single-chip multiprocessors (CMPs) are likely to become commodity components. Speculative CMPs use hardware to enforce dependence, allowing the compiler to improve performance by speculating on ambiguous dependences without absolute guarantees of independence. The compiler is responsible for decomposing a sequential program into speculatively parallel threads, while considering multiple performance overheads related to data dependence, load imbalance, and thread prediction. Although the decomposition problem lends itself to a min-cut-based approach, the overheads depend on the thread size, requiring the edge weights to be changed as the algorithm progresses. The changing weights make our approach different from graph-theoretic solutions to the general problem of task scheduling. One recent work uses a set of heuristics, each targeting a specific overhead in isolation, and gives precedence to thread prediction, without comparing the performance of the threads resulting from each heuristic. By contrast, our method uses a sequence of balanced min-cuts that give equal consideration to all the overheads, and adjusts the edge weights after every cut. This method achieves an (geometric) average speedup of 74% for floating-point programs and 23% for integer programs on a four-processor chip, improving on the 52% and 13% achieved by the previous heuristics.
机译:随着十亿个晶体管芯片的问世,单芯片多处理器(CMP)可能会成为商品组件。推测性CMP使用硬件来强制执行依赖性,从而允许编译器通过推测模棱两可的依赖性而提高性能,而无需绝对保证独立性。编译器负责将顺序程序分解为推测性的并行线程,同时考虑与数据依赖性,负载不平衡和线程预测有关的多个性能开销。尽管分解问题使其适用于基于最小割的方法,但是开销取决于线程大小,需要随着算法的进行更改边缘权重。不断变化的权重使我们的方法不同于图论解决方案来解决一般的任务调度问题。最近的一项工作使用了一组启发式算法,每个启发式算法都以特定的开销为目标,并且优先进行线程预测,而没有比较每种启发式算法产生的线程性能。相比之下,我们的方法使用一系列平衡的最小切割,这些切割均考虑所有开销,并在每次切割后调整边缘权重。这种方法在四处理器芯片上实现的浮点程序的(几何)平均速度提高了74%,而整数程序的平均速度提高了23%,而以前的启发式算法分别提高了52%和13%。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号