arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.04625cs.DCcs.AR
收藏

FSHMEM:支持FPGA分区全局地址空间的大规模硬件加速基础设施

FSHMEM: Supporting Partitioned Global Address Space on FPGAs for Large-Scale Hardware Acceleration Infrastructure

Yashael Faith Arthanto, David Ojika, Joo-Young Kim

摘要:

分区全局地址空间(Partitioned Global Address Space,PGAS)通过全局共享内存空间提供高效的单边通信,已成为高性能计算(High Performance Computing,HPC)中最有前途的并行计算模型之一。与此同时,FPGA作为HPC系统的替代计算平台,以其定制计算和设计灵活性的优势而受到关注。然而,与传统的消息传递接口不同,PGAS的探索尚未在FPGA上进行。本文提出了FSHMEM,一个软件/硬件框架,使FPGA上的PGAS编程模型。我们在FPGA上实现了GASNet规范的核心功能,以实现硬件中的原生PGAS集成,同时其编程接口被设计为与传统软件高度兼容。实验结果表明,FSHMEM的峰值带宽达到3813 MB/s,是理论最大值的95%以上,比已有的工作高出9.5 $\times$。对于远程写入和读取操作,它分别记录0.35 $us$和0.59 $us$延迟。最后,我们对集成英特尔深度学习加速器的两个英特尔D5005 FPGA节点进行了案例研究。采用FSHMEM编程的两节点系统在矩阵乘法和卷积运算方面分别实现了1.94 $\times$和1.98 $\times$的加速比,显示了其在HPC基础设施中的可扩展性。

英文摘要:

By providing highly efficient one-sided communication with globally shared memory space, Partitioned Global Address Space (PGAS) has become one of the most promising parallel computing models in high-performance computing (HPC). Meanwhile, FPGA is getting attention as an alternative compute platform for HPC systems with the benefit of custom computing and design flexibility. However, the exploration of PGAS has not been conducted on FPGAs, unlike the traditional message passing interface. This paper proposes FSHMEM, a software/hardware framework that enables the PGAS programming model on FPGAs. We implement the core functions of GASNet specification on FPGA for native PGAS integration in hardware, while its programming interface is designed to be highly compatible with legacy software. Our experiments show that FSHMEM achieves the peak bandwidth of 3813 MB/s, which is more than 95% of the theoretical maximum, outperforming the prior works by 9.5$\times$. It records 0.35$us$ and 0.59$us$ latency for remote write and read operations, respectively. Finally, we conduct a case study on the two Intel D5005 FPGA nodes integrating Intel's deep learning accelerator. The two-node system programmed by FSHMEM achieves 1.94$\times$ and 1.98$\times$ speedup for matrix multiplication and convolution operation, respectively, showing its scalability potential for HPC infrastructure.

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

↑