[Paper Review] Reducing overheads of dynamic scheduling on heterogeneous chips
This paper proposes dynamic scheduling optimizations to reduce overheads in heterogeneous chips with integrated CPUs and GPUs, focusing on irregular workloads like Barnes Hut. By prioritizing host threads and leveraging OS-specific scheduling behaviors, it reduces Energy-Delay Product (EDP) by up to 84% on Intel Haswell and 57% on Samsung Exynos big.LITTLE, significantly improving performance and energy efficiency in dynamic offloading scenarios.
In recent processor development, we have witnessed the integration of GPU and CPUs into a single chip. The result of this integration is a reduction of the data communication overheads. This enables an efficient collaboration of both devices in the execution of parallel workloads. In this work, we focus on the problem of efficiently scheduling chunks of iterations of parallel loops among the computing devices on the chip (the GPU and the CPU cores) in the context of irregular applications. In particular, we analyze the sources of overhead that the host thread experiments when a chunk of iterations is offloaded to the GPU while other threads are executing concurrently other chunks on the CPU cores. We carefully study these overheads on different processor architectures and operating systems using Barnes Hut as a study case representative of irregular applications. We also propose a set of optimizations to mitigate the overheads that arise in presence of oversubscription and take advantage of the different features of the heterogeneous architectures. Thanks to these optimizations we reduce Energy-Delay Product (EDP) by 18% and 84% on Intel Ivy Bridge and Haswell architectures, respectively, and by 57% on the Exynos big.LITTLE.
Motivation & Objective
- Address performance degradation in dynamic scheduling of irregular applications on heterogeneous chips with integrated GPUs.
- Identify and mitigate key sources of overhead—especially host thread rescheduling—when offloading chunks of iterations to the GPU.
- Improve load balancing and resource utilization across CPU cores and GPU in oversubscribed environments.
- Evaluate the impact of scheduling optimizations across different architectures (Intel Ivy Bridge, Haswell, Exynos big.LITTLE) and operating systems (Windows, Linux).
- Minimize Energy-Delay Product (EDP) while maintaining or improving execution time through targeted thread scheduling and priority adjustments.
Proposed method
- Analyze GPU hardware metrics (EU activity, idle, stall cycles, L3 cache misses) and effective throughput across varying GPU chunk sizes using Intel VTune on Haswell.
- Measure and isolate overheads from kernel launching, data transfers, and host thread dispatching in dynamic scheduling on integrated GPU platforms.
- Implement host thread priority boosting to reduce rescheduling overheads, especially under Windows in oversubscribed configurations.
- Explore thread pinning to low-power A7 cores on Exynos big.LITTLE to reduce energy consumption while maintaining performance.
- Evaluate the combined effect of priority boosting and core pinning on EDP reduction across multiple configurations and workloads.
- Use the Barnes Hut benchmark as a representative irregular application to evaluate performance and energy trade-offs across different hardware and OS platforms.
Experimental results
Research questions
- RQ1What are the dominant sources of overhead in dynamic scheduling of irregular applications on heterogeneous chips with integrated GPUs?
- RQ2How does the operating system (Windows vs. Linux) influence the impact of host thread rescheduling overhead in oversubscribed scenarios?
- RQ3To what extent can increasing the priority of the host thread reduce execution time and energy consumption on Intel platforms under Windows?
- RQ4What are the energy and performance benefits of pinning the host thread to low-power A7 cores on Exynos big.LITTLE architectures?
- RQ5How does the size of GPU-offloaded chunks affect GPU performance and overall EDP in irregular workloads like Barnes Hut?
Key findings
- On Intel Haswell with Windows, increasing the host thread priority reduces Energy-Delay Product (EDP) by 84% compared to baseline dynamic scheduling.
- On Intel Ivy Bridge with Windows, host thread priority boosting reduces EDP by 18%, demonstrating significant gains in oversubscribed environments.
- On the Exynos 5 big.LITTLE platform with Linux, pinning the host thread to the A7 core reduces EDP by 46% compared to standard dynamic scheduling.
- Combining host thread priority boosting with A7 core pinning on Exynos reduces EDP by an additional 7.8%, achieving a total EDP reduction of 57%.
- The Linux scheduler on Exynos effectively manages oversubscription without priority adjustments, making thread pinning the primary optimization vector.
- On non-oversubscribed configurations (e.g., 3+1), increasing host thread priority provides minimal benefit, indicating that overheads are less critical when resources are underutilized.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.