A Simple Cache Coherence Scheme for Integrated CPU-GPU Systems
A Simple Cache Coherence Scheme for Integrated CPU-GPU Systems
复制标题
DOI:
10.1109/dac18072.2020.9218664
复制
发表时间:
2020-07
期刊:
影响因子:
--
通讯作者:
Ardhi Wiratama Baskara Yudha;Reza Pulungan;H. Hoffmann;Yan Solihin
中科院分区:
文献类型:
--
作者:
Ardhi Wiratama Baskara Yudha;Reza Pulungan;H. Hoffmann;Yan Solihin
This paper presents a novel approach to accelerate applications running on integrated CPU-GPU systems. Many integrated CPU-GPU systems use cache-coherent shared memory to communicate. For example, after CPU produces data for GPU, the GPU may pull the data into its cache when it accesses the data. In such a pull-based approach, data resides in a shared cache until the GPU accesses it, resulting in long load latency on a first GPU access to a cache line. In this work, we propose a new, push-based, coherence mechanism that explicitly exploits the CPU and GPU producer-consumer relationship by automatically moving data from CPU to GPU last-level cache. The proposed mechanism results in a dramatic reduction of the GPU L2 cache miss rate in general, and a consequent increase in overall performance. Our experiments show that the proposed scheme can increase performance by up to 37%, with typical improvements in the 5–7% range. We find that even when tested applications do not benefit from the proposed approach, their performance does not decrease with our technique. While we demonstrate how the proposed scheme can co-exist with traditional cache coherence mechanisms, we argue that it could also be used as a simpler replacement for existing protocols.