【24h】

Communication Avoiding Symmetric Band Reduction

机译:避免对称频带减少的通信

获取原文

摘要

The running time of an algorithm depends on both arithmetic and communication (i.e., data movement) costs, and the relative costs of communication are growing over time. In this work, we present both theoretical and practical results for tridiagonalizing a symmetric band matrix: we present an algorithm that asymptotically reduces communication, and we show that it indeed performs well in practice. The tridiagonalization of a symmetric band matrix is a key kernel in solving the symmetric eigenvalue problem for both full and band matrices. In order to preserve sparsity, tridiagonalization routines use annihilate-and-chase procedures that previously have suffered from poor data locality. We improve data locality by reorganizing the computation, asymptotically reducing communication costs compared to existing algorithms. Our sequential implementation demonstrates that avoiding communication improves runtime even at the expense of extra arithmetic: we observe a 2× speedup over Intel MKL while doing 43% more floating point operations. Our parallel implementation targets shared-memory multicore platforms. It uses pipelined parallelism and a static scheduler while retaining the locality properties of the sequential algorithm. Due to lightweight synchronization and effective data reuse, we see 9.5× scaling over our serial code and up to 6× speedup over the PLASMA library, comparing parallel performance on a ten-core processor.
机译:算法的运行时间取决于算术和通信(即数据移动)成本,并且通信的相对成本随着时间增长。在这项工作中,我们给出了对称对角矩阵矩阵的对角线化的理论和实践结果:我们提出了一种渐近减少通信的算法,并且证明了它在实践中确实表现良好。对称带矩阵的三对角化是解决全矩阵和带矩阵的对称特征值问题的关键内核。为了保持稀疏性,三对角化例程使用an灭和追逐程序,这些程序以前曾因数据局部性较差而遭受痛苦。我们通过重新组织计算来改善数据局部性,与现有算法相比,渐近降低了通信成本。我们的顺序实现证明,即使付出了额外的算术代价,避免通信也可以改善运行时间:与英特尔MKL相比,我们观察到速度提高了2倍,而浮点运算的执行量却增加了43%。我们的并行实现以共享内存多核平台为目标。它使用流水线并行性和静态调度程序,同时保留顺序算法的局部性。由于轻量级的同步和有效的数据重用,我们看到在串行代码上进行了9.5倍的缩放,而在PLASMA库中实现了6倍的加速,比较了十核处理器上的并行性能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号