arrow
返回

Beyond VABlock: Improving Transformer workloads through aggressive prefetching

delete2025-05-01
delete0
PRE
AI
J
Jane Rhee
I
I. Stephen Choi
G
Gunjae Koo
Y
Yunho Oh *
Y
Yoon, Myung Kuk *
DOI:10.1016/j.sysarc.2025.103389delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
The memory capacity constraint of GPUs is a major challenge in running large deep learning workloads with their ever increasing memory requirements. To run a large Transformer model with limited GPU memory, programmers need to manually allocate and copy data between CPU and GPUs. This programming burden is eased by Unified Virtual Memory (UVM), which automatically manages data transfer through its demand paging scheme. However, using UVM can cause performance degradation, especially under memory oversubscription. In this paper, we analyze the memory behavior of inference in large Transformer models using real hardware and the open-source NVIDIA UVM driver. The default Tree-Based Neighborhood (TBN) prefetcher in the UVM driver supports page prefetching within a 2MB virtual address block (VABlock), but it only detects locality within a VABlock, limiting its effectiveness for large models. Our analysis reveals that this locality extends beyond the VABlock, which the default prefetcher cannot exploit. To address this, we propose a block-aware prefetcher that prefetches multiple contiguous VABlocks with greater aggressiveness. Our evaluation shows that this approach delivers an average 2.7x performance improvement over the default TBN prefetcher when GPU memory is oversubscribed.
Keyword:
Unified virtual memory
Memory oversubscription
Graphics processing units
Large language models
Demand paging
Prefetching
Real-time analysis

期刊

Journal of Systems Architecture 封面图
Journal of Systems Architecture
IF:
4.1
论文数:
3.0K
被引数:
4.2K

机构

K
Korea University
学者数:
3.6W
论文数: 3.8W
被引数: 4.4W
E
Ewha Womans University
学者数:
1.2W
论文数: 1.1W
被引数: 1.2W
引用论文

引用论文

暂无论文信息