Design and Implementation of User-level Process Checkpointing System Based on Linux
- Author
- MengXiangKun
- Advisor
- GaoShengFa
- School
- Shandong University
- Major
- Computer technology
- Classification
- TP316.81
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 29
- Citations
- 0
Abstract
Process checkpoint mechanism is that we can set up the checkpoints in the appropriate moment of the normal operation of the process to put the saved process state into stable storage by checkpoint file. If the process failed in the subsequent operation of the process, we can read out the saved process state from the memory to recover the process and continue to run, thus avoiding being executed from the beginning, reducing the loss of calculation.In the background of widely used of computer technology, how to ensure that the system has certain reliability in order to avoid the occurrence of disastrous consequences, is a very important area of current research. Now because of the continuous growth in size of the system, increasingly complex of the application, the defects in the existing system and the probability of errors is greatly increased. In order to ensure high reliability of system, the technology of checkpoint has been widely used and become a hot field of computer research. In addition, with the growing popularity of Linux systems, applications based on the operating system is more and more widely used,so the process checkpoint mechanism applied in the system, in order to improve the system software fault tolerance has been paid more and more attention.First of all, the article reviews the technology of checkpoint and current research situation at home and abroad. Through the analysis of existing user-level process checkpoint systems, it sums up the difficulties and problems need to be resolved of the process checkpoint system. Then introduce the key technology of realizing the checkpoint system and its principles.This article focuses on the design and implementation of user-level process checkpoint system. The system is divided into four modules:Fault detection module、 State saving modules、Write file module、Process recovery module. Fault detection module can achieve real-time protection of the target process and keep the process run normally; State saving modules can record and save the state of normally running target process such as the process memory image and CPU registers, signal, open the file; Write the file module is responsible to write the saved state of process into the checkpoint file; Process recovery module can return the saved state to its previous state and ensure the process continues to run.Second, write the object program to verify the operation of each module of the system, and ensure the normal operation of each module.Finally, summarize the main work of this paper, and propose some measures to improve and perfect the paper.
Table of contents
Summary 8-10
ABSTRACT 10-12
Chapter 1 Introduction 12-18
1.1 sources and background issues 12 - 13
1.2 topics sense 1.3 Status domestic and foreign research 13
13-16
1.3.1 user -level checkpoint system 14-15 <br / > 1.3.2 system-level checkpoint system 15-16
1.3.3 comparison between organizational structure 16
1.4 papers 16-18 <br / > Research Chapter 2 checkpoint technology and related technologies 18-33
2.1 checkpoint technology 18-19
2.2 LINUX process 19-25
2.2.1 process descriptor 19-20
2.2.2 process address space 20-24
2.2.3 process context 24 <br / > 2.2.4 process status and scheduling 24-25
2.3 PTRACE system calls 25-29
2.4 PROC file system 29-31
2.5 ELF file format design and implementation of Chapter 3, 31-33
process Checkpoint systems overall 33-51
3.1 system architecture 33
3.2 fault detection module 33-37
3.2.1 process monitoring technology 34-35
3.2.2 failure daemon 35-37
3.3 process state storage module 37-48
3.3.1 process image 37-40
3.3.2 CPU registers 40-42
3.3.3 open the file table 42-45
3.3.4 process signals 45-48
3.4 write file module 48-49
3.5 recovery module 49-51
Chapter 4 results 51-54
Chapter 5 summarizes 54-55
References 55-57
Thanks 57-58
dissertation defense review and table 58
Related dissertations
- Research of Manufacturing Simulation and Workshop Control
- Study of Batch Process Monitoring Based on Process Data
- Industrial Process Monitoring Technology and Its Application Based on Partial Least Square
- Process Monitoring Method Study Based on Information Transfer Technology
- Research on Process Monitoring for Complex Industrial Processes Based on Multivariate Statistical Analysis
- Industrial Process Monitoring Based on Kernel Partial Least Squares
- Design and Implementation of Worksheets System Based on JBPM
- The Project of Requirementanalysis and Monitoring of Penglai19-3Oilfield Production Management System
- Design and Implementation of Process Monitoringand Management Warning Systemfor PICC Xiamen Branch
- The Design and Implementation of College Computer Room Management System
- Study on Key Technologies of Manufacturing Tasks Execution of Building Material Equipment Enterprises in Cloud Manufacturing
- Design and Implementation of Shanghai Subway Traffic Information Monitoring System
- Research on the Fault Diagnosis Method Based on MBKPCA and PSDG
- Modeling and Fault Detection for Electroslag Remelting Process
- Process Monitoring and Fault Trace for Hydrometallurgy Cementation Process
- Research on the Indirect Monitoring Technique of Grinding Burn and Its Interrelated Problems in Pre-Cision Grinding Process
- The Design and Analysis of Large-scale Cantilever Centrifugal Casting Machine
- Kernel Optimization-Based Kernel Principal Component Analysis Algorithm and Their Applications in Fermentation Process
- Raman Spectrum On-line Monitoring in Aspirin Synthesis Process
- Study on Resource Allocation Management of Dynamic Logistics Alliance Oriented to Logistics Task