arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1910.03679cs.DCcs.ARcs.PF
收藏

内存通道对稀疏和不规则算法性能的影响

Performance Impact of Memory Channels on Sparse and Irregular Algorithms

Oded Green, James Fox, Jeffrey Young, Jun Shirako, David Bader

摘要:

图形处理通常被认为是一个内存限制的问题,而不是计算限制的问题。一种常见的思路是,更多的可用内存带宽对应于更好的图形处理性能。然而,在这项工作中,我们表明,在利用内存系统的图形算法的关键因素不一定是原始带宽,甚至内存请求的延迟。相反,我们表明,性能是成正比的内存通道的数量有限的空间局部性处理小数据传输。使用几个广泛使用的图形框架,包括Gunrock(在GPU上)和GAPBS \& Ligra(用于CPU),我们使用两个独特的存储层次结构(基于DDR和HBM/MCDRAM)来评估关键图分析内核。我们的研究结果表明,几个Pascal代GPU内存子系统的峰值带宽差异并没有反映在各种分析的性能中。此外,我们在CPU和Xeon Phi系统上的实验表明,在几个不同的应用程序中,使用的内存通道数量可能是性能的决定性因素。对于具有较小线程计数的CPU系统,内存通道可能未被充分利用,而具有高线程计数的系统可能使内存子系统过饱和,这导致有限的性能。最后,我们模型的潜在的性能改进,增加更多的内存通道,更窄的访问宽度比在当前的平台上发现,我们分析了性能权衡的两个最突出的类型的内存访问中发现的图形算法,流和随机访问。

英文摘要:

Graph processing is typically considered to be a memory-bound rather than compute-bound problem. One common line of thought is that more available memory bandwidth corresponds to better graph processing performance. However, in this work we demonstrate that the key factor in the utilization of the memory system for graph algorithms is not necessarily the raw bandwidth or even the latency of memory requests. Instead, we show that performance is proportional to the number of memory channels available to handle small data transfers with limited spatial locality. Using several widely used graph frameworks, including Gunrock (on the GPU) and GAPBS \& Ligra (for CPUs), we evaluate key graph analytics kernels using two unique memory hierarchies, DDR-based and HBM/MCDRAM. Our results show that the differences in the peak bandwidths of several Pascal-generation GPU memory subsystems aren't reflected in the performance of various analytics. Furthermore, our experiments on CPU and Xeon Phi systems demonstrate that the number of memory channels utilized can be a decisive factor in performance across several different applications. For CPU systems with smaller thread counts, the memory channels can be underutilized while systems with high thread counts can oversaturate the memory subsystem, which leads to limited performance. Finally, we model the potential performance improvements of adding more memory channels with narrower access widths than are found in current platforms, and we analyze performance trade-offs for the two most prominent types of memory accesses found in graph algorithms, streaming and random accesses.

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

↑