JCSE, vol. 14, no. 4, pp.131-145, 2020
DOI: http://dx.doi.org/10.5626/JCSE.2020.14.4.131
Reducing CPU-GPU Interferences to Improve CPU Performance in Heterogeneous Architectures
Hao Wen and Wei Zhang
Department of Electrical and Computer Engineering, Virginia Commonwealth University, Richmond, VA, USA
Abstract: Current heterogeneous CPU-GPU architectures integrate general-purpose CPUs and highly thread-level parallelized
GPUs (graphic processing units) in the same die. The contention in shared resources between CPU and GPU, such as the
last level cache (LLC), interconnection network, and DRAM, may degrade both CPU and GPU performance. Our experimental
results show that GPU applications tend to have much more power than CPU applications to compete for the
shared resources in the LLC and on-chip network, and therefore make CPU suffer from more performance loss. To
reduce the GPU's negative impact on CPU performance, we propose a simple yet effective method based on probability
to control the LLC replacement policy for reducing the CPU's inter-core conflict misses caused by GPU without significantly
impacting GPU performance. In addition, we develop two strategies to combine the probability-based method for
the LLC and an existing technique called virtual channel partition (VCP) for the interconnection network to further
improve the CPU performance. The first strategy statically uses an empirically pre-determined probability value associated
with VCP, which can improve the CPU performance by 26% on average, but degrades GPU performance by 5%.
The second strategy uses a sampling method to monitor the network congestion and dynamically adjust the probability
value used, which can improve the CPU performance by 24%, and only have 1% or 2% performance overhead on GPU
applications.
Keyword:
Heterogeneous architectures; Last level cache; Inter-application interferences
Full Paper: 194 Downloads, 1352 View
|