XUnified: A Framework for Guiding Optimal Use of GPU Unified Memory
XUnified: A Framework for Guiding Optimal Use of GPU Unified Memory
复制标题
XUnified:指导 GPU 统一内存优化使用的框架
DOI:
10.1109/access.2022.3196008
复制
发表时间:
2022
期刊:
影响因子:
3.9
通讯作者:
Liao, Chunhua
中科院分区:
文献类型:
--
作者:
Xu, Hailu;Lin, Pei-Hung;Emani, Murali;Hu, Liting;Liao, Chunhua
Unified Memory is a single memory address space that is accessible by any processor (GPUs or CPUs) in a system. NVIDIA’s unified memory creates a pool of managed memory on top of physically separated CPU and GPU memories. NVIDIA’s unified memory automatically migrates page-level data on-demand, so programmers can quickly develop CUDA codes on heterogeneous machines. However, it is extremely difficult for programmers to decide when and how to efficiently use NVIDIA’s unified memory because (1) users are usually unaware of which unified memory hint (e.g.,ReadMostly,PreferredLocation,AccessedBy) should be used for a data object in the application, and (2) it is tedious and error-prone to do manual memory management (i.e., manual code modifications) for various applications with difference data objects or inputs. We presentXUnified, anadvice controllerwhich combines the offline training with the online adaptation to guide the optimal use of unified memory and discrete memory for various applications at runtime. The offline phase uses profiler-generated metrics to train a machine learning model, which is used to predict optimal memory advice choice and it then applies this advice to applications at runtime. We evaluateXUnifiedon NVIDIA Volta GPUs with a set of heterogeneous computing benchmarks. Results show that it achieves 94.0% prediction accuracy in correctly identifying the optimal memory advice choice with a maximal 34.3% reduction in kernel execution time.
登录
查看更多内容
DOI:
--
发表时间:
2014
期刊:
2014 First Workshop on Accelerator Programming using Directives
影响因子:
--
作者:
Seyong Lee;J. Vetter
通讯作者:
J. Vetter
DOI:
--
发表时间:
2014
期刊:
Journal of management science
影响因子:
--
作者:
อนิรุธ สืบสิงห์
通讯作者:
อนิรุธ สืบสิงห์
DOI:
10.1145/3148173.3148184
发表时间:
2017
期刊:
Proceedings of the Fourth Workshop on the LLVM Compiler Infrastructure in HPC
影响因子:
--
作者:
Alok Mishra;Lingda Li;Martin Kong;H. Finkel;B. Chapman
通讯作者:
B. Chapman
DOI:
--
发表时间:
2019
期刊:
影响因子:
--
作者:
Bodun Hu;Christopher J. Rossbach
通讯作者:
Christopher J. Rossbach