A Checkpoint/Restart Mechanism for MPI Application Migration in Grid Environments
- Author
- LiDeXiong
- Advisor
- WeiXiaoHui
- School
- Jilin University
- Major
- Computer System Architecture
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 69
- Citations
- 0
Abstract
Grid computing is a new computing technolodgy shown up at the end of last centry. By combining with several computing resources which belongs to different institutions and from different regions, grid computing could accomplish thost computing tasks need powerful machines. A great spirit of grid computing is to utilize the powerful computing resource when they’re free. It provide computing power in the same way as power grid, users only need to connect with che power network instead of owning a power generator. Grid computing contains a Metascheduler and a local scheduler. Therefore jobs’request submited from a client tools may queue twice. Further more, Local scheduler may give jobs form local area a higher priority.GlobusToolkits is a seriers of infrastructure provided by Globus alliance for users to utilize the grid resource. It contains every things when you will need to access the heterogeneous, distributed computing resource, including security, resource management, and data chansmission, and so on. The Argonne National Laboratory implement a message passing interface ,called MPICH-G2 which supports grid environment. It accords with MPI-1 specification, and it offer the same interface with other non-grid MPI implementations, this may be convenience for scientist transplant their MPI program into grid environment.At present, Grid computing is attracting more and more attentions from scientist because its powerful computing ability. However, due to the scale of calculation increasing, more nodes are required, therefore the probability of fault because a single node increased, so the fault-tolerant of parallel computing becomes more important. Also as we have mention above, the policy of local scheduler make job migration and load balancing more important.Checkpointing is a key technology for load balancing and fault-tolerant. The checkpointing technology also aid for job migrations. Through making checkpoint in a regular or irregular periods, when the system needs to restart because of fault, or migration because of load balancing, system administrator could use the checkpoint file to rollback to the time when job make checkpoint, to avoid computation lost.The main problem of checkpoint a serial process is how to save the executation state of a process and how to optimize the checkpointing process to minimize the checkpoint file’s size and the time spent on checkpointing. As for the grid environment, there are some other points to be consider: the first is whether the checkpointing process of a single sub job will cause a global waiting. The second is how to ensure that no message will lost when a sub job make checkpointing and restarting. The third is how to chose the right time to make checkpointing. Commonly there are several different types of parallel program checkpointing algorithms: Synchronous checkpoint algorithm, Asynchronous checkpoint algorithm and Quasi-synchronous checkpoint algorithm. These are been well studied and have some valueable implementations. But it’s still to be studied in the grid environment.After analysed some basic problem of parallel job checkpointing, and the specific grid environment, we find out that it should be take the rebuiding topology structure of subjobs into consideration when checkpointing a sub job.This paper design a checkpointing machanism for grid MPI program migration. It is a sub course of project MPI-parallel process migration. A checkpointing machanism for grid mpi program include a main algorithm name Q-SC/R(quasi-synchronous checkpointing/restart). We use the algorithm as below to prevent the inconsistence of message before and after checkpointing:1. client controler send a checkpointing signal to a sub job(or a group sub jobs), make it get in the process of checkpointing;2. the subjob receive the signal. Then it bloadcast the number of the messages it’d sent to others. This will inform other that it will to into the state of invalid;3. other valid subjob receive that message, will waiting for all message that on the transmision; when all message are arrived, it send out an ack message, attaching the number of a sent to the other side; and then close the communication channel use by this parir;4. Interrupt subjob will disconnect the channel to other subjob when all acknowlodgy mesage are arrived. Then it change to the invalid state, and make checkpointing;5. after the subjob checkpointed, the client control resubmit it to a node for executation, the subjob will restart using the checkpoint file, to roll back to the previously state;6. the subjob re-alloc a listen port, and send rebuild message to the client control, bringing the new address and listening port to the client controler;7. client controler gather all addresses infomation of the subjobs which go into checkpoint period, update the client control’s JIT;8. client control bloadcast it’s latest job infomation table;9. subjob receive the client’s message and update their own channel table, and update the global node validation, then the system returns to the normal status.The quasi-synchronous checkpointing/restart algorithem we propose could not only keep the consistency of message; but also enable other subjob keep running instead of global waiting. Futher more, as the design of client control our system not only alow several sub jobs migrations paralleled one time; but also enable several sub jobs migrations cocurrently without deadlock.We analyse the communication process of MPICH1.2.6 and the MPICH-G2’s hiberarchy carefully, then we compose the implementation of the algorithm with other necessary functions, add up to MPICH-G2 architecture. We provide a new vitrual device named ckptg2, which is based on globus2 device and contained checkpoint machanism. We named the new MPI implement MPICH-ckpt, which is an checkpoint available message passing interface for grid environment. By nodifying the MPICH1.2.6’s implementation, we do not weaken the function of MPICH-G2, but provide a checkpointing and subjob migration machanism.Although this paper desigh a checkpoint/migration machanism. And after restart or migration subjobs still could find out the whole job’s topology by special control. But the latency of the message transmition between domain sometimes may be very heavy. And the state anouncing of restarted process are also needed to optimize. Futher more, as the avaliablity of grid resource is incertitude, this may lead to a long time waiting of jobs, therefore we use an virtual job modle to control it.For further research, we would combine the metascheduler—csf and virtual job model to implement parallel job migration’s optimize, and provide a loadbalancing and fault tolerant for grid enveriment.
Table of contents
Summary 4-7
Chapter 1 Introduction 7-11
1.1 Background and significance 7-8
120 research status 8
1.3 of this article the main work and structure of the paper 8-11
1.3.1 This article addresses the problems and work 8-9
1.3.2 In this paper, the main contribution 9
1.3.3 of this paper structural arrangements 9-11
Chapter 2 parallel computing environment introduced the development 11-17
2.1 parallel computing software platform development 11-12
2.1.1 early parallel computing environment development 11-12
2.1.2 cluster environment, parallel computing development 12
2.2 grid computing concepts and architecture 12-14
2.2.1 Grid computing concept 12-13
2.2.2 grid system structure 13-14
2.2.3 grid environment infrastructure GlobusToolkits 14
2.3 grid environment, Parallel Computing Environment 14-15
2.4 grid parallel job submission and initialization 15-17
Chapter 3 checkpoint mechanisms introduced 17-23
3.1 checkpoint Technical Overview 17-18
3.2 parallel checkpoint 18-20
3.2.1 related to the concept of parallel checkpoint 18-19
3.2.2 checkpoint technology implementations way 19-20
3.3 parallel checkpoint 20-21
3.3.1 sync check point algorithm 20-21
3.3.2 asynchronous checkpoint algorithm 21
3.3.3 based on the restoration of the message records 21
3.4 Current distributed parallel checkpointing status 21-23
Chapter 4, MPICH-G2 checkpoint mechanism design and 23-39
4.1 MPICH-G2, details of the structure and sub-operations communications 23-26
4.1.1 MPICH-G2's hierarchy 23-24
4.1.2 MPICH-G2 channel structure and traffic classification 24-25
4.1.3 MPICH-G2's communications a subset of the basic communication mechanism 25-26
4.2 checkpoint mechanisms and job migration protocol 26-28
4.2.1 Grid environment parallel program migrate structure 26-27
technical difficulties of the checkpoint mechanism
4.2.2 Grid environment 27-28
4.3 checkpointing / recovery algorithm 28-31
4.3.1 sub-job state transitions 28-29
4.3.2 asynchronous checkpoint operation 29-30
4.3.3 restore 30-31
4.4 algorithm analysis 31-33
4.4.1 message consistency 31-32
4.4.2 global wait states 32-33
4.4.3 algorithm does not produce deadlock 33
4.5 checkpoint mechanism for the realization of 33-39
4.5.1 of the overall structure of 33-34
4.5.2 Signal processing module 34
4.5.3 to maintain communications and state consistency 34-37
4.5.4 checkpoint set up and site restoration 37
4.5.5 communication mechanism of the recovery 37-39
Chapter 5, experiments and results analysis 39-43
5.1 The experimental environment 39
5.2 Experimental program and results analysis 39-43
5.2.1 experimental program 39-40
5.2.2 Experimental results 40-42
5.2.3 Experimental Summary 42-43
Chapter 6 Summary and outlook 43-44
6.1 Research summary 43
6.2 future work 43-44
References 44-47
thank 47-48
Summary 48-51
ABSTRACT 51-53
Related dissertations
- Research and Implementation of Fault Recovery Mechanism in Large-scale Graph Processing System Based on BSP
- Journal Design and Implementation of Cappella Distributed File System
- Research and Implementation of Checkpoint System Based on Embeded Multi-core Environment
- Research of Optimizing Virtual Machine Checkpoint
- Lightweight Checkpoint of Virtual Machine Memory
- Study of Optimization Technique of System Performance Based on Checkpoint
- Effect and Mechanism of Target for Induction of Differentiation and Cycle Arrest in Human Gastric Cancer Cells by Diallyl Disulfide
- Research on Rollback Recovery Fault-Tolerance Technology in High Availability Cluster
- RNA Interference as a Tool to Study the Function of MAD2 in Mouse Oocyte Meiotic Maturation
- The Role of Kinetochore Protein Mitosin in Mitosis
- The Research on Low-overhead Rollback Recovery Fault-Tolerance Technology
- Study on Regulation of Human Ribonucleotide Reductase by p53-p21/p27 Pathway and the Mechanism of Gemcitabine Resistance
- Research on Debugging Environments of Parallel Programs in Cluster Systems
- Roles of DNA Helicase WEB2 of Saccharomyces Cerevisiae in S Checkpoint Regulation Mechanism
- A Biological Network of Saccharomyces Cerevisiae in Response to Oxidative DNA Damage and Its Relationship to Yeast Cell Chronological Aging
- Research on Key Techniques of Rollback Recovery in Mobile Computing Environment
- Research on Dependable Job Scheduling in Grid
- Research on VM-based Incremental Checkpoint and Execution Replay
- Research and Primitive Implementation of Backtracking Debugging Based on Process Snapshotting in Kernel Mode
- The Design and Implementation of the Host Standby System on KYLIN OS