arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1711.04883cs.DCcs.AIhep-lat
收藏

在英特尔(R)Omni-Path架构网络上加速HPC代码:从粒子物理学到机器学习

Accelerating HPC codes on Intel(R) Omni-Path Architecture networks: From particle physics to Machine Learning

The University of Edinburgh(爱丁堡大学);Alan Turing Institute(艾伦·图灵研究所);Intel(英特尔);Columbia University(哥伦比亚大学);Brookhaven National Laboratory(布鲁克海文国家实验室)

Peter Boyle, Michael Chuvelev, Guido Cossu, Christopher Kelly, Christoph Lehner, Lawrence Meadows

摘要:

我们将讨论一些实用的方法,以确保每个节点具有一个或两个英特尔® Omni-Path主机结构接口(HFI)和英特尔®至强融核TM 72 xx(Knight's Landing)处理器的群集在使用Linux操作系统时具有接近线速的性能。该研究评估的性能改进实现和所需的编程方法在两个不同的例子问题:首先在笛卡尔通信晕交换问题,适合于结构化网格PDE求解器中出现的量子色动力学模拟粒子物理学,其次在梯度减少适当的同步随机梯度下降机器学习。作为一个例子,我们加速了百度研究减少公布的代码,并获得了10倍的加速比原始代码使用本文中讨论的技术。这显示了当同步随机梯度下降以固定的小批量大小大规模并行化时,如何在强缩放的分布式机器学习中实现10倍的加速。我们发现一个显着的改善性能的鲁棒性时,获得内存使用仔细分配的2 MB“巨大的”虚拟内存页,这意味着无论是非标准的分配例程应用于通信缓冲区。这些可以通过LD\_PRELOAD覆盖以libhugetlbfs建议的方式访问。我们利用英特尔(R)MPI 2019库“技术预览版”和底层软件,通过每个进程的多个PSM 2端点和使用多个独立的MPI通信器,在整个通信软件桩中实现线程并发。当每个节点使用单个MPI进程时,我们发现这大大加快了许多核心英特尔®至强融核处理器中的交付带宽。

英文摘要:

We discuss practical methods to ensure near wirespeed performance from clusters with either one or two Intel(R) Omni-Path host fabric interfaces (HFI) per node, and Intel(R) Xeon Phi(TM) 72xx (Knight's Landing) processors, and using the Linux operating system. The study evaluates the performance improvements achievable and the required programming approaches in two distinct example problems: firstly in Cartesian communicator halo exchange problems, appropriate for structured grid PDE solvers that arise in quantum chromodynamics simulations of particle physics, and secondly in gradient reduction appropriate to synchronous stochastic gradient descent for machine learning. As an example, we accelerate a published Baidu Research reduction code and obtain a factor of ten speedup over the original code using the techniques discussed in this paper. This displays how a factor of ten speedup in strongly scaled distributed machine learning could be achieved when synchronous stochastic gradient descent is massively parallelised with a fixed mini-batch size. We find a significant improvement in performance robustness when memory is obtained using carefully allocated 2MB "huge" virtual memory pages, implying that either non-standard allocation routines should be used for communication buffers. These can be accessed via a LD\_PRELOAD override in the manner suggested by libhugetlbfs. We make use of a the Intel(R) MPI 2019 library "Technology Preview" and underlying software to enable thread concurrency throughout the communication software stake via multiple PSM2 endpoints per process and use of multiple independent MPI communicators. When using a single MPI process per node, we find that this greatly accelerates delivered bandwidth in many core Intel(R) Xeon Phi processors.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑