G10: Enabling An Efficient Unified GPU Memory and Storage Architecture with Smart Tensor Migrations
Authors:
- Haoyang ZhangHZHaoyang Zhang
- Yirui Eric ZhouYZYirui Eric Zhou
- Yuqi XueYXYuqi Xue
- Yiqi LiuYLYiqi Liu
- Jian HuangJHJian Huang
Preprint
Abstract
To break the GPU memory wall for scaling deep learning workloads, a variety of architecture and system techniques have been proposed recently. Their typical approaches include memory extension with flash memory and direct storage access. However, these techniques still suffer from suboptimal performance and introduce complexity to the GPU memory management, making them hard to meet the scalability requirement of deep learning workloads today. In this paper, we present a unified GPU memory and storage architecture named G10 driven by the fact that the tensor behaviors of deep learning workloads are highly predictable. G10 integrates the host memory, GPU memory, and flash memory into a unified memory space, to scale the GPU memory capacity while enabling transparent data migrations. Based on this unified GPU memory and storage architecture, G10 utilizes compiler techniques to characterize the tensor behaviors in deep learning workloads. Therefore, it can schedule data migrations in advance by considering the available bandwidth of flash memory and host memory. The cooperative mechanism between deep learning compilers and the unified memory architecture enables G10 to hide data transfer overheads in a transparent manner. We implement G10 based on an open-source GPU simulator. Our experiments demonstrate that G10 outperforms state-of-the-art GPU memory solutions by up to 1.75$\times$, without code modifications to deep learning workloads. With the smart data migration mechanism, G10 can reach 90.3\% of the performance of the ideal case assuming unlimited GPU memory.Keywords
All Related Versions
- Version 1, 2023-10-14, ArXiv
- Published version: , 395.
This publication has 14 references indexed in Scilit:
- DeepUM: Tensor Migration and Prefetching in Unified Memory2023
- Sentinel: Efficient Tensor Migration and Allocation on Heterogeneous Memory Systems for Deep Learning2021
- AutoTM: Automatic Tensor Movement in Heterogeneous Memory Systems using Integer Linear Programming2020
- Evaluating Modern GPU Interconnect: PCIe, NVLink, NV-SLI, NVSwitch and GPUDirectIEEE Transactions on Parallel and Distributed Systems, 2019
- OC-DNN: Exploiting Advanced Unified Memory Capabilities in CUDA 9 and Volta GPUs for Out-of-Core DNN Training2018
- Towards high performance paged memory for GPUs2016
- Unified address translation for memory-mapped SSDs with FlashMap2015
- Better flash access via shape-shifting virtual memory pages2013
- DFSACM Transactions on Storage, 2010
- Gordon2009