CRState: checkpoint/restart of OpenCL program for in-kernel applications

被引:3
作者
Chen, Genlang [1 ]
Zhang, Jiajian [2 ]
Zhu, Zufang [2 ]
Jiang, Qiangqiang [2 ]
Jiang, Hai [3 ]
Pang, Chaoyi [1 ]
机构
[1] Zhejiang Univ, Ningbo Res Inst, Ningbo Inst Technol, Ningbo 315100, Peoples R China
[2] Zhejiang Univ, Coll Software Technol, Polytech Inst, Coll Comp Sci, Hangzhou 310058, Peoples R China
[3] Arkansas State Univ, Dept Comp Sci, Jonesboro, AR 72746 USA
关键词
Checkpoint; restart; Heterogeneous; OpenCL; COMPUTATION;
D O I
10.1007/s11227-020-03460-2
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The checkpoint/restart mechanism is critical in a preemptive system because clusters with this mechanism will be improved in terms of fault tolerance, load balance, and resource utilization. As graphics processing units (GPUs) have more recently become commonplace with the advent of general-purpose computation, and open computing language (OpenCL) programs are portable across various CPUs and GPUs, it is increasingly important to set up checkpoint/restart mechanism in OpenCL programs. However, due to the complexity of the internal computational state of the GPU, there is currently no effective and reasonable checkpoint/restart scheme for OpenCL applications. This paper proposes a feasible system, checkpoint/restart state (CRState), to achieve checkpoint/restart in GPU kernels. The computation states including heap, data segments, local memory, stack and code segments in the underlying hardware are identified and concretized in order to establish an association between the underlying level state and the application level representation. Then, a pre-compiler is developed to insert primitives into OpenCL programs at compile time so that major components of the computation state will be extracted at runtime. Since the computation state is duplicated at application level, such OpenCL programs can be preempted and ported across heterogeneous devices. A comprehensive example and ten authoritative benchmark programs are selected to demonstrate the feasibility and effectiveness of the proposed system.
引用
收藏
页码:5426 / 5467
页数:42
相关论文
共 43 条
[1]  
[Anonymous], 2007, WORKSH SYST
[2]  
Ansel J, 2009, INT PARALL DISTRIB P, P895
[3]   A technique for non-invasive application-level checkpointing [J].
Arora, Ritu ;
Bangalore, Purushotham ;
Mernik, Marjan .
JOURNAL OF SUPERCOMPUTING, 2011, 57 (03) :227-255
[4]  
Bitsavers AK, 2008, ANN HIST COMPUTING, V5, P164
[5]   A kernel integrated task migration infrastructure for clusters of workstations [J].
Bozyigit, M ;
Al-Tawil, K ;
Naseer, S .
COMPUTERS & ELECTRICAL ENGINEERING, 2000, 26 (3-4) :279-295
[6]   Automated application-level checkpointing of MPI programs [J].
Bronevetsky, G ;
Marques, D ;
Pingali, K ;
Stodghill, P .
ACM SIGPLAN NOTICES, 2003, 38 (10) :84-94
[7]   A self-organizing flock of Condors [J].
Butt, AR ;
Zhang, RM ;
Hu, YC .
JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2006, 66 (01) :145-161
[8]  
Che SA, 2009, I S WORKL CHAR PROC, P44, DOI 10.1109/IISWC.2009.5306797
[9]   Cell broadband engine architecture and its first implementation - A performance view [J].
Chen, T. ;
Raghavan, R. ;
Dale, J. N. ;
Iwata, E. .
IBM JOURNAL OF RESEARCH AND DEVELOPMENT, 2007, 51 (05) :559-572
[10]  
Danalis A., 2010, WORKSH GEN PURP COMP