arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1910.09598cs.DC
收藏

CUDA统一存储器高级特性的性能评估

Performance Evaluation of Advanced Features in CUDA Unified Memory

Steven W. D. Chien, Ivy B. Peng, Stefano Markidis

摘要:

CUDA统一内存提高了GPU的可编程性,并支持GPU内存超额订阅。最近,引入了两个高级内存特性:内存建议和异步预取。在这项工作中,我们评估了两个平台上的新功能,这些平台具有不同的CPU,GPU和互连。我们推导出一个基准套件的实验和压力的内存系统,以评估在内存和超额认购的性能。结果表明,内存建议的Intel-Volta/Pascal-PCIe平台带来的内存执行的改善微不足道。但是,当GPU内存超额使用约50%时,与基本CUDA统一内存相比,使用内存建议可带来高达25%的性能提升。相比之下,Power 9-Volta-NVLink平台可以从内存建议中受益匪浅,实现高达34%的内存执行性能增益。然而,当GPU内存在此平台上被超额预订时,使用内存建议会增加GPU页面错误并导致相当大的性能损失。CUDA预取在两个平台上也显示出不同的性能影响。它在Intel-Volta/Pascal-PCI-E平台上将性能提高了50%,但对Power 9-Volta-NVLink平台几乎没有带来任何好处。

英文摘要:

CUDA Unified Memory improves the GPU programmability and also enables GPU memory oversubscription. Recently, two advanced memory features, memory advises and asynchronous prefetch, have been introduced. In this work, we evaluate the new features on two platforms that feature different CPUs, GPUs, and interconnects. We derive a benchmark suite for the experiments and stress the memory system to evaluate both in-memory and oversubscription performance. The results show that memory advises on the Intel-Volta/Pascal-PCIe platform bring negligible improvement for in-memory executions. However, when GPU memory is oversubscribed by about 50%, using memory advises results in up to 25% performance improvement compared to the basic CUDA Unified Memory. In contrast, the Power9-Volta-NVLink platform can substantially benefit from memory advises, achieving up to 34% performance gain for in-memory executions. However, when GPU memory is oversubscribed on this platform, using memory advises increases GPU page faults and results in considerable performance loss. The CUDA prefetch also shows different performance impact on the two platforms. It improves performance by up to 50% on the Intel-Volta/Pascal-PCI-E platform but brings little benefit to the Power9-Volta-NVLink platform.

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

↑