一句话:提出面向 GPU 的软件无关虚拟缓存层次,过滤 TLB 未命中带来的地址转换带宽压力。
CPU/GPU 异构集成系统常让 GPU 硬件支持虚拟地址,但每次访存都需地址转换。作者观察到未来 GPU 负载对共享转换硬件的带宽需求极高(部分情形每周期最多 4 次访问),私有 TLB 频繁缺失使性能相对理想 MMU 平均下降 32%。论文提出软件无关、实用的 GPU 虚拟缓存层次,用作地址转换带宽过滤器:许多私有 TLB 未命中可在 GPU 缓存层次中找到有效数据,从而被过滤,降低共享转换硬件压力。GPU 同义名概率低等特性还降低了虚拟缓存设计复杂度,使含共享 L2 的完整层次可行。评估显示,完整 GPU 虚拟缓存层次能有效过滤高转换带宽,性能接近理想 MMU;相比仅 L1 虚拟缓存,它平均额外带来 1.31 倍加速。
Heterogeneous computing with GPUs integrated on the same chip as CPUs is ubiquitous, and to increase programmability many of these systems support virtual address accesses from GPU hardware. However, this entails address translation on every memory access. We observe that future GPUs and workloads show very high bandwidth demands (up to 4 accesses per cycle in some cases) for shared address translation hardware due to frequent private TLB misses. This greatly impacts performance (32% average performance degradation relative to an ideal MMU). To mitigate this overhead, we propose a software-agnostic, practical, GPU virtual cache hierarchy. We use the virtual cache hierarchy as an effective address translation bandwidth filter. We observe many requests that miss in private TLBs find corresponding valid data in the GPU cache hierarchy. With a GPU virtual cache hierarchy, these TLB misses can be filtered (i.e., virtual cache hits), significantly reducing bandwidth demands for the shared address translation hardware. In addition, accelerator-specific attributes (e.g., less likelihood of synonyms) of GPUs reduce the design complexity of virtual caches, making a whole virtual cache hierarchy (including a shared L2 cache) practical for GPUs. Our evaluation shows that the entire GPU virtual cache hierarchy effectively filters the high address translation bandwidth, achieving almost the same performance as an ideal MMU. We also evaluate L1-only virtual cache designs and show that using a whole virtual cache hierarchy obtains additional performance benefits (1.31× speedup on average).
DOI 原文 ·
@inproceedings{paperbot4235,
title = {Filtering Translation Bandwidth with Virtual Caching},
author = {Hongil Yoon and Jason Lowe-Power and Gurindar S. Sohi},
booktitle = {ASPLOS},
year = {2018},
doi = {10.1145/3173162.3173195}
}