Concepedia

Publication | Closed Access

Observations and opportunities in architecting shared virtual memory for heterogeneous systems

95

Citations

21

References

2016

Year

TLDR

Computing is increasingly heterogeneous, with GPUs tightly integrated on the same die as CPUs, making extension of the CPU’s virtual addressing mechanism to accelerators essential for easy programmability. We analyze shared virtual memory between the CPU and an integrated GPU using real‑system measurements. Our measurements show that GPU TLB misses and page faults are an order of magnitude slower than the CPU’s, that memory‑access divergence disproportionately degrades GPU translation, and that concurrent TLB misses and software‑hardware co‑design are essential to mitigate these latencies, highlighting several research opportunities.

Abstract

Computing is becoming increasingly heterogeneous with accelerators like GPUs being tightly integrated with CPUs on the same die. Extending the CPU's virtual addressing mechanism to these accelerators is a key step in making accelerators easily programmable. In this work, we analyze, using real-system measurements, shared virtual memory across the CPU and an integrated GPU. We make several key observations and highlight consequent research opportunities: (1) servicing a TLB miss from the GPU can be an order of magnitude slower than that from the CPU and consequently it is imperative to enable many concurrent TLB misses to hide this larger latency; (2) divergence in memory accesses impacts the GPU's address translation more than the rest of the memory hierarchy, and research in designing address translation mechanisms tolerant to this effect is imperative; and (3) page faults from the GPU are considerably slower than that from the CPU and software-hardware co-design is essential for efficient implementation of page faults from throughput-oriented accelerators like GPUs. We present a detailed measurement study of a commercially available integrated APU that illustrates these effects and motivates future research opportunities.

References

YearCitations

Page 1