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

CPU-GPU统一内存中的一种智能超额订阅管理框架

An Intelligent Framework for Oversubscription Management in CPU-GPU Unified Memory

Xinjian Long, Xiangyang Gong, Huiyang Zhou

摘要:

本文提出了一种新的智能框架,在CPU-GPU UVM的超额订阅管理。我们分析了当前基于规则的GPU内存超额订阅方法与统一内存,以及当前基于学习的其他计算机架构组件的方法。然后,我们确定现有的基于规则的方法和理论上限之间的性能差距。我们还确定了应用机器智能的优势和现有基于学习的方法的局限性。本文提出了一种新的智能框架,在CPU-GPU UVM的超额订阅管理。它包括一个访问模式分类器,然后是一个特定于模式的基于transformer的模型,该模型使用了一个旨在减少页面抖动的新型损失函数。策略引擎被设计成利用模型的结果来执行精确的页面预取和预驱逐。我们评估我们的智能框架上的一组11内存密集型基准测试从流行的基准套件。我们的解决方案优于最先进的(SOTA)方法的超额预订管理,减少了64.4%的内存超额预订相比,基线下,而SOTA方法减少了17.3%的页面thrashed的数量。我们的解决方案在125%的内存超额使用情况下实现了平均1.52倍的IPC改进,而我们的解决方案在150%的内存超额使用情况下实现了平均3.66倍的IPC改进。我们的解决方案优于现有的基于学习的页面地址预测方法,对于单个GPGPU工作负载,平均将top-1准确率提高6.45%(高达41.2%),对于多个并发GPGPU工作负载,平均将top-1准确率提高10.2%(高达30.2%)。

英文摘要:

This paper proposes a novel intelligent framework for oversubscription management in CPU-GPU UVM. We analyze the current rule-based methods of GPU memory oversubscription with unified memory, and the current learning-based methods for other computer architectural components. We then identify the performance gap between the existing rule-based methods and the theoretical upper bound. We also identify the advantages of applying machine intelligence and the limitations of the existing learning-based methods. This paper proposes a novel intelligent framework for oversubscription management in CPU-GPU UVM. It consists of an access pattern classifier followed by a pattern-specific Transformer-based model using a novel loss function aiming for reducing page thrashing. A policy engine is designed to leverage the model's result to perform accurate page prefetching and pre-eviction. We evaluate our intelligent framework on a set of 11 memory-intensive benchmarks from popular benchmark suites. Our solution outperforms the state-of-the-art (SOTA) methods for oversubscription management, reducing the number of pages thrashed by 64.4\% under 125\% memory oversubscription compared to the baseline, while the SOTA method reduces the number of pages thrashed by 17.3\%. Our solution achieves an average IPC improvement of 1.52X under 125\% memory oversubscription, and our solution achieves an average IPC improvement of 3.66X under 150\% memory oversubscription. Our solution outperforms the existing learning-based methods for page address prediction, improving top-1 accuracy by 6.45\% (up to 41.2\%) on average for a single GPGPU workload, improving top-1 accuracy by 10.2\% (up to 30.2\%) on average for multiple concurrent GPGPU workloads.

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

↑