【24h】

Optimizing Non-contiguous Memory Access on Intel Xeon Phi Coprocessors

机译:在Intel Xeon Phi协处理器上优化非连续内存访问

获取原文
获取原文并翻译 | 示例

摘要

As an innovative design for high performance computing, Intel Xeon Phi coprocessor based on Intel Many Integrated Core (Intel MIC) architecture relies heavily on its SIMD (single instruction multiple data) unit. However, performance of non-contiguous memory access has become the memory wall towards efficient utilization of SIMD unit on Intel Xeon Phi coprocessors due to gather/scatter overhead. Existing vectorization techniques in the optimization of gather/scatter overhead have been focusing on extracting data parallelism from inter-loop and intra-loop in a decoupled means. In this paper, we propose a novel inter-intra-hybrid vectorization technique which further exploits SIMD efficiency. In this technique, we generate optimized SIMD code for loops requesting non-contiguous memory. Additional strategies are also presented to improve SIMD unit parallelism through data padding and redundant computation. To evaluate our technique, the two major functions from Sandia's miniMD benchmark, i.e., LJ force calculation and neighbor list build, are taken for experiments which show that our proposed method achieves a performance gain of 25%-40% compared with Intel compiler auto vectorized code and outperforms the existing methods. Our optimization method can be further applied to other highly parallel workloads with frequent non-contiguous memory access, which is very common in real-world scientific applications.
机译:作为高性能计算的创新设计,基于英特尔多核集成(Intel MIC)架构的Intel Xeon Phi协处理器在很大程度上依赖于其SIMD(单指令多数据)单元。但是,由于收集/分散开销,非连续内存访问的性能已成为有效利用Intel Xeon Phi协处理器上SIMD单元的内存墙。优化收集/分散开销的现有矢量化技术一直集中在以解耦的方式从环路间和环路内提取数据并行性。在本文中,我们提出了一种新颖的混合内向量化技术,该技术进一步利用了SIMD的效率。在这种技术中,我们为请求非连续内存的循环生成优化的SIMD代码。还提出了通过数据填充和冗余计算来改善SIMD单元并行性的其他策略。为了评估我们的技术,Sandia的miniMD基准测试的两个主要功能,即LJ力计算和邻居列表构建,用于实验,结果表明,与Intel编译器自动矢量化技术相比,我们提出的方法可将性能提高25%-40%代码并优于现有方法。我们的优化方法可以进一步应用于具有频繁非连续内存访问的其他高度并行的工作负载,这在现实世界的科学应用程序中非常常见。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号