IEEE International Conference on High Performance Computing, Data, and Analytics · 2016 · 28 citations · 26 references
EngineeringComputer EngineeringComputer ScienceCompilersComputer ArchitectureHardware-software Co-designCpu SchedulingGraphics Processing Unit ArchitectureInstruction-level ParallelismKernel DesignKernel ProgrammingProcessor Core DesignContext SwitchingContext Switching OverheadGpu ArchitectureHardware Context SwitchingKernel PreemptionPreemptionResponse TimeThread Block Scheduling
Context switching is a key technique enabling preemption and time-multiplexing for CPUs. However, for single-instruction multiple-thread (SIMT) processors such as high-end graphics processing units (GPUs), it is challenging to support context switching due to the massive number of threads, which leads to a huge amount of architectural states to be swapped during context switching. The architectural state of SIMT processors includes registers, shared memory, SIMT stacks and barrier states. Recent works present thread-block-level preemption on SIMT processors to avoid context switching overhead. However, because the execution time of a thread block (TB) is highly dependent on the kernel program. The response time of preemption cannot be guaranteed and some TB-level preemption techniques cannot be applied to all kernel functions. In this paper, we propose three complementary ways to reduce and compress the architectural states to achieve lightweight context switching on SIMT processors. Experiments show that our approaches can reduce the register context size by 91.5% on average. Based on lightweight context switching, we enable instruction-level preemption on SIMT processors with compiler and hardware co-design. With our proposed schemes, the preemption latency is reduced by 59.7% on average compared to the naive approach.
26
Rodinia: A benchmark suite for heterogeneous computing
Shuai Che, Michael Boyer, Jiayuan Meng et al. · 2009 · 3K citations
Analyzing CUDA workloads using a detailed GPU simulator
Ali Bakhoda, George L. Yuan, Wilson Wai Lun Fung et al. · 2009 · 1.7K citations
Base-delta-immediate compression
Gennady Pekhimenko, Vivek Seshadri, Onur Mutlu et al. · 2012 · 357 citations
The case for GPGPU spatial multitasking
Jacob T. Adriaens, Katherine Compton, Nam Sung Kim et al. · 2012 · 214 citations