统一内存架构下CPU-GPU内存共享的特性分析
Characterizing CPU-GPU Memory Sharing over Unified Memory Architecture
AI总结:
本文针对统一内存架构(UMA)下CPU-GPU内存共享的问题开展研究,提出可移植库libumsh,经九个实际系统验证,可减少数据平面时间16%-75%、控制平面开销7%-90%。
摘要:
统一内存架构(UMA)使CPU和GPU能够共享单一物理内存,但其复杂性和不透明性常导致应用退回到低效的复制操作,或采用牺牲性能甚至正确性的错误直接访问方式。本文针对UMA上的CPU-GPU内存共享开展全面研究,覆盖四个平台上数据平面传输与控制平面协调的正确性和性能,得出四项发现,以此指导libumsh的开发——这是一个可移植库,能跨平台提供正确高效的内存共享,还可扩展至新兴平台(如NVIDIA DGX Spark)。将libumsh应用于九个实际系统后,数据平面时间减少16%-75%,控制平面开销降低7%-90%。
英文摘要:
Unified Memory Architecture (UMA) enables the CPU and GPU to share a single physical memory. However, its complexity and opacity often drive applications back to inefficient copying or to incorrect direct access that sacrifices performance or even correctness. This paper presents a comprehensive study of CPU-GPU memory sharing on UMA, covering correctness and performance across data-plane transmission and control-plane coordination on four platforms. It yields four findings that guide libumsh, a portable library that delivers correct and efficient memory sharing across platforms and extends to emerging ones (e.g., NVIDIA DGX Spark). Applied to nine real-world systems, libumsh reduces data-plane time by 16-75% and control-plane overhead by 7-90%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。