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

Ember:为离散显存GPU实现实用的统一虚拟内存

Ember: Making Unified Virtual Memory Practical for Discrete-Memory GPUs

Technical University of Munich(慕尼黑工业大学)

Senad-Leandro Lemes Galera, Michail Georgoulakis Misegiannis, Ferdinand Gruber, Jana Giceva, Dimitrios Stavrakakis

AI总结:

Ember是一款UVM管理框架,通过混合地址空间、计数器驱动区域提升等技术,在不修改应用的情况下,使GPU显存过度订阅性能大幅优于原生UVM及性能分析引导方案。

摘要:

GPU工作集已超出GPU显存容量,因此应用程序必须对显存进行过度订阅,仅将热数据保留在GPU上。NVIDIA的统一虚拟内存(UVM)支持过度订阅,但当数据量超过GPU显存后,其性能会下降,这源于其故障驱动的数据放置方式,会浪费互连带宽且导致GPU利用率不足。由此产生的问题是:能否在不使用放置提示、性能分析运行或应用程序修改的情况下,让UVM过度订阅在普通GPU上变得实用,同时利用GPU内存速度并最小化互连带宽浪费?为此,我们提出了Ember,这是一款针对过度订阅工作负载的UVM管理框架。Ember引入了混合地址空间:分配初始映射到主机内存,省略数据迁移;其计数器驱动的区域提升利用GPU硬件计数器将热区域提取到GPU;其基于衰减的预回收机制会批量主动驱逐冷区域;同时通过在线区域放置,Ember在运行时跟踪热集。我们在NVIDIA开源UVM驱动中为未修改的应用程序实现了Ember,也在普通CUDA上实现了用户空间变体。在1.5倍过度订阅下,它在三个PCIe GPU上的六个应用程序中比UVM快6.8至10.6倍,在手动放置根本无法运行的规模下,生成LLM token的速度快4.7至16倍;在无性能分析运行的情况下,它的内核时间比性能分析引导的替代方案快2.1倍。

英文摘要:

GPU working sets have outgrown GPU memory, so applications must oversubscribe it, keeping only hot data on the GPU. NVIDIA's Unified Virtual Memory (UVM) supports oversubscription, but its performance degrades once data exceeds the GPU's memory. This stems from its fault-driven data placement, wasting interconnect bandwidth, and underutilizing the GPU. This raises the question: can UVM oversubscription become practical on stock GPUs, exploiting GPU memory speed and minimizing wasted interconnect bandwidth, without placement hints, profiling runs, or application changes? To this end, we present Ember, a UVM management framework for oversubscribed workloads. Ember introduces a hybrid address space; allocations start as mapped into host memory, omitting data migration. Ember's counter-driven region promotion uses GPU's hardware counters to fetch hot regions to the GPU, its decay-based eager reclamation proactively evicts cold regions in batches, while via online region re-placement, Ember tracks the hot set at runtime. We implement Ember within NVIDIA's open-source UVM driver for unmodified applications and as a userspace variant on stock CUDA. At 1.5x oversubscription, it is 6.8-10.6x faster than UVM on six applications across three PCIe GPUs, and generates LLM tokens 4.7-16x faster at sizes where manual placement cannot run at all. Without a profiling run, it beats a profile-guided alternative by 2.1x on kernel time.

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

↑