Enhanced Register Data-Flow Techniques for High-Performance, Energy-Efficient GPUs
Year: 2021
Type: dissertation
Abstract: To avoid immoderate power consumption, the chip industry has shifted away from highperformance single threaded designs to high throughput multi-threaded designs. Graphic\nProcessing Unit (GPU) is a great example of such high throughput multi-threaded designs.\nGPUs have emerged as an important computational platform for data-intensive applications\nin a plethora of application domains. They are commonly integrated in computing platforms\nat all scales, from mobile devices and embedded systems, to high performance enterprise-level\ncloud servers.\nGPUs use a massively multi-threaded architecture that exploits fine-grained switching between executing groups of threads to hide the latency of data accesses. In order to\nsupport this fast context switching at scale, GPUs invest in large Register Files (RF) to\nallow each thread to maintain its context in hardware. RF is a critical structure in GPUs\nresponsible for a large portion of the area and power; the frequent accesses to the register\nfile during kernel execution incur a sizable overhead in GPU power consumption, and introduce delays as accesses are serialized when port conflicts occur. This dissertation presents novel synergistic compiler/microarchitecture techniques for enabling high-performance and\nenergy-efficient GPUs.\nOur first technique, CORF, is a compiler-assisted Coalescing Operand Register\nFile which performs register coalescing by combining reads to multiple registers required\nby a single instruction, into a single physical read. To enable register coalescing, CORF\nutilizes register packing to co-locate narrow-width operands in the same physical register.\nOur proposed design uses compiler hints to identify which register pairs are commonly\naccessed together. This novel technique simultaneously reduces the leakage and dynamic\naccess power, while improving the overall performance of the GPU.\nThe second technique, Breathing Operand Windows to exploit bypassing in GPUs\n(BOW), is motivated by the observation that there is a high degree of temporal locality\nin accesses to the registers: within short instruction windows, the same registers are often\naccessed repeatedly. To exploit this opportunity, we propose an enhanced GPU pipeline\nand operand collector organization that supports bypassing register file accesses and instead\npasses values directly between instructions within the same window. To further arise\nbypassing opportunities, we introduce compiler optimizations to help guide the write-back\ndestination of operands depending on whether they will be reused to further reduce the write\ntraffic. Our results show that BOW can shield the register file from unnecessary register file\naccesses, which improves performance and reduces the energy consumption.\nIn our third study, inspired by the fact that registers are the fastest and simultaneously the most expensive kind of memory available to GPU threads, we propose Register\nMutual Exclusion (RegMutex). RegMutex a software-hardware co-mechanism to enable sharing a subset of physical registers between warps during the GPU kernel execution. With\nRegMutex, the compiler divides the architected register set into a base register set and an\nextended register set. While physical registers corresponding to the base register set are\nstatically and exclusively assigned to the warp, the hardware time-shares the remaining\nphysical registers across warps to provision their extended register set. Therefore, the GPU\nprograms can sustain approximately the same performance with the lower number of registers\nhence yielding higher performance per dollar.\nOne of the most critical performance and design hurdles in today’s computing\nchallenges is operating on a large volume of data. Large data not only impedes performance\nby imposing long-latency memory accesses, but also makes the processor design more costly\nby having the design to overprovision the on-chip memory size to afford the data. In our last\nstudy, we proposed another novel register sharing mechanism and also a warp scheduling\nscheme for GPUs to resolve these issues.Instead of modifying workloads to apply advanced\nalgorithms or changing the GPU architecture significantly, our proposed locality-aware\nregister file (LARF) and locality-aware scheduler (LAS) effectively reduce off-chip memory\naccesses and enable data sharing across warps in timely manner. We exploited the unique\ndata sharing patterns of big data workloads such as deep learning and matrix multiply\nalgorithms and have the warps opportunistically share data in register file. In our studies,\nwe have observed a lot of cases where the amount of parallelism was limited largely by\nregister shortage. With our proposed LARF, the register usage is also effectively reduced by\nhaving warps to share one physical copy of the register.
Author: Asghari Esfeden, Hodjat
Institution: University of California, Riverside
Language: English
Subfield: Hardware and Architecture
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7019071105
