改进GPU存储系统中的多应用并发支持
Improving Multi-Application Concurrency Support Within the GPU Memory System
摘要:
GPU利用高度的线程级并行性来隐藏长延迟停滞。由于不同应用的异构计算需求,在大规模计算环境中,跨多个应用共享GPU的需求日益增长。然而,虽然CPU提供相对无缝的多应用并发,并且非常适合多任务和虚拟化环境,但GPU目前仅提供对多应用并发的原始支持。当代GPU中的大部分问题在于存储器系统,其中多应用程序执行需要虚拟内存支持来管理每个应用程序的地址空间并提供内存保护。在这项工作中,我们进行了详细的分析,在国家的最先进的GPU虚拟内存管理,阻碍多应用程序执行的主要问题。现有的GPU被设计为在CPU和GPU之间共享内存,但不能很好地处理GPU内的多应用程序支持。我们发现,当多个应用程序在空间上共享GPU时,GPU内的共享TLB上存在大量的核间颠簸。TLB争用足够高以防止GPU成功隐藏停顿延迟,从而成为一阶性能问题。我们介绍了MASK,一个存储层次结构结构的设计,提供低开销的虚拟内存支持的并发执行的多个应用程序。MASK扩展了GPU的存储层次结构,通过使用多级TLB来有效地支持地址转换,并使用可感知存储器和高速缓存管理来在存在应用程序间争用的情况下最大化吞吐量。
英文摘要:
GPUs exploit a high degree of thread-level parallelism to hide long-latency stalls. Due to the heterogeneous compute requirements of different applications, there is a growing need to share the GPU across multiple applications in large-scale computing environments. However, while CPUs offer relatively seamless multi-application concurrency, and are an excellent fit for multitasking and for virtualized environments, GPUs currently offer only primitive support for multi-application concurrency. Much of the problem in a contemporary GPU lies within the memory system, where multi-application execution requires virtual memory support to manage the address spaces of each application and to provide memory protection. In this work, we perform a detailed analysis of the major problems in state-of-the-art GPU virtual memory management that hinders multi-application execution. Existing GPUs are designed to share memory between the CPU and GPU, but do not handle multi-application support within the GPU well. We find that when multiple applications spatially share the GPU, there is a significant amount of inter-core thrashing on the shared TLB within the GPU. The TLB contention is high enough to prevent the GPU from successfully hiding stall latencies, thus becoming a first-order performance concern. We introduce MASK, a memory hierarchy design that provides low-overhead virtual memory support for the concurrent execution of multiple applications. MASK extends the GPU memory hierarchy to efficiently support address translation through the use of multi-level TLBs, and uses translation-aware memory and cache management to maximize throughput in the presence of inter-application contention.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。