Affiliation:
1. Faculty of Electronics, Telecommunications and Informatics, Gdansk University of Technology, Poland
Abstract
Abstract
In the paper we investigate a practical approach to application of integer linear programming for optimization of data assignment to compute units in a multi-level heterogeneous environment with various compute devices, including CPUs, GPUs and Intel Xeon Phis. The model considers an application that processes a large number of data chunks in parallel on various compute units and takes into account computations, communication including bandwidths and latencies, partitioning, merging, initialization, overhead for computational kernel launch and cleanup. We show that theoretical results from our model are close to real results as differences do not exceed 5% for larger data sizes, with up to 16.7% for smaller data sizes. For an exemplary workload based on solving systems of equations of various sizes with various compute-to-communication ratios we demonstrate that using an integer linear programming solver (lp_solve) with timeouts allows to obtain significantly better total (solver+application) run times than runs without timeouts, also significantly better than arbitrary chosen ones. We show that OpenCL 1.2’s device fission allows to obtain better performance in heterogeneous CPU+GPU environments compared to the GPU-only and the default CPU+GPU configuration, where a whole device is assigned for computations leaving no resources for GPU management.
Publisher
Oxford University Press (OUP)
Reference40 articles.
1. Starpu: a unified platform for task scheduling on heterogeneous multicore architectures;Augonnet;Concurr. Comput.,2011
2. Scheduling independent moldable tasks on multi-cores with gpus;Bleuse;IEEE Trans. Parallel Distrib. Syst.,. 2017
3. Novel Methodologies for Predictable CPU-To-GPU Command Offloading;Cavicchioli,2019
4. A hybrid multi-gpu/cpu computational framework for rotorcraft flows on unstructured overset grids;Chandar,2013
5. Mixed-integer programming for unrelated parallel machines scheduling problem considering electricity cost and makespan penalty cost;Cheng,2019
Cited by
4 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献