Research on Debugging Environments of Parallel Programs in Cluster Systems

Author
LiuJian
Advisor
ShenMeiMing
School
Tsinghua University
Major
Computer System Architecture
Classification
TP338 A variety of electronic digital computer
Degree
Doctoral dissertation
Year
2002
Downloads
351
Citations
5

Request the full text

Abstract

The process of debugging parallel programs is a very important phase in the cycle of software development. Parallel debugging is a complicated work. Research of debugging techniques of parallel programs has been made for many years. However, few of the problems have been successfully solved. In this dissertation, research has been made on the topics of clock of cluster system, time-cost of debugging, intrusion of interactive debugging operation, dynamic conditional breakpoint, and performance debugging issues. Some of the achievements are used in the implementation of a parallel debugging environment for cluster systems.The contribution of this dissertation arrives from the follows:1. The characteristics, methods and techniques of performance debugging are described. The framework of performance debugging usually comprises a part which is responsible for collecting the performance information and a part which analyses and displays the performance data. In allusion to the unification of techniques and interface of correctness and performance debugging, the concept of debugging environment, which means the integrated environment of correctness debugging tool and performance debugging tool, has been proposed.2. An event-based physical clock has been development. It integrated the advantages of physical clock and logical clock so that it can not only represent the time duration but also preserve the partial order of events. A postmortem clock adjustment algorithm has been designed. The correctness and astringency have also been proved The outstanding advantage of our algorithm is that there is not any extra communication overhead.The deterministic checkpoint based on state-freezing can successfully avoid nephew messages, domino effect and live lock. By<WP=7>3. means of recording transient message, all the four problems of checkpoint are solved. And the non-deterministic is settled by the technique of recording/replay. The primary benefit of this algorithm is simple and easy to implement.4. A new debugging mode, called pure mode, has been propsoed to decrease the intrusion of interactive debugging operations. The characteristics of intrusion are formally uncovered. The correctness of freezing and melting algorithms has also been proved.5. By using of dynamic instrumentation, we implement conditional breakpoint. The efficiency of this kind conditional breakpoint is much higher than traditional one. Compared with GDB, we are able to execute a program with conditional breakpoints from several times to hundreds times faster.6. Combining dynamic instrumenting techniques and state-freezing strategy, the interactive performance debugging mode based on state-freezing is proposed Dynamic instrumenting technique makes it possible to introduce interactive debugging mode in performance debugging. To reduce intrusion of interactive debugging operations, state-freezing strategy is certainly a good choice. Instrumentation at the line of source program makes the collection of performance data more accurate and flexible.7. A debugging environment for parallel programs in cluster systems, called DENNET, is implemented. DENNET plays a positive role in prompting the researches of debugging environment in cluster systems.

Table of contents

Chinese Abstract 5-6 Abstract ( English summary ) 6-8 directory 8-14 Chapter Introduction 14 -37 1.1 parallel computer system 14-18 1.1.1 parallel Processing background 14-15 1.1.2 parallel Computer system components and features 15-18 1.2 parallel computer system 18-21 1.2.1 implicitly parallel programming model 18 <br / > 1.2.2 shared memory programming model 18-19 1.2.3 message passing programming model 19-20 1.2.4 data parallel Programming model 20-21 1.3 cluster system key technologies 21-23 1.3.1 single system image technology (single system map) 21 1.3.2 ICT 21 1.3.3 load balancing and scheduling policies 21-22 1.3.4 parallelizing compiler technology 22 1.3.5 parallel debugging techniques 22 1.3.6 recovery and Fault Tolerant 22-23 1.3.7 parallel programming Environment 23 1.4 parallel debugging techniques meaning 23-24 1.5 parallel debugging difficulties 24-33 <br / > 1.5.1 uncertainty 25-26 1.5.2 cluster system clock 26-27 1.5.3 interference 27-28 1.5.4 time overhead 28 1.5.5 performance debugging / diagnosis, prediction 28-29 1.5 .6 visualization problems 29 1.5.7 communication problems 29-30 1.5.8 global state consistency 30-31 <br / > 1.5.9 automatic parallelization debugging 31-32 1.5.10 other issues 32-33 1.6 contents of this paper and principal contribution 33-37 1.6.1 the main contents 33-35 1.6.2 this innovative work and major contribution 35 - Chapter 37 parallel debugging techniques and cluster systems parallel program debugging environment 37-50 2.1 parallel debugging key technologies and research status 37-42 <br / > 2.1.1 uncertainties 37-38 2.1.2 clock problem 38-39 2.1.2.1 physical clock 38 2.1.2.2 logic Clock 38-39 2.1.3 interference 39-40 2.1. 3.1 interfere reasons 39 2.1.3.2 variety of techniques to eliminate interference 39-40 2.1.4 debugging time overhead problems 40-41 2.1.5 performance debugging problems 41 2.1.6 tool integration technology and scale debug (tuninginthelarge) 41 2.1.7 About HPDF [Jeff97] [Jonh98] 41-42 2.2 debugging parallel performance cluster system concept 42-47 2.2.1 debugging parallel program correctness model 43-45 2.2.1.1 parallel debugging 43-44 2.2.1.2 model 44-45 2.2.2 debugging parallel program performance model 45-47 2.2.2.1 performance Tuning 45-46 2. 2.2.2 model 46 2.2.2.3 new research topics 46-47 2.3 cluster system parallel program debugging environment concept 47-48 2.3.1 technology integration and penetration 47-48 2.3.2 unified interface 48 2. 4 Summary 48-50 Chapter event-based physical clock 50-66 3.1 Introduction 50-51 3.2 physical clock 51 3.3 logic Clock 51-53 3.4 event-based physical clock 53-60 3.4. a basic idea 53-54 3.4.2 minimum transmission delay matrix 54-56 3.4.3 adjustment algorithm correctness and convergence proof 56-60 3.4.3.1 basic adjustment operation 56 3.4.3.2 proof of non-negative adjustment algorithm 56-59 3.4.3.3 algorithm zero proof 59-60 3.5 adjustment algorithm 60-61 3.6 experimental results 61-64 3.7 event-based physical clock to achieve 64 3.8 Summary 64-66 Chapter certainty based on the state to freeze checkpoint 66-78 4.1 Introduction 66-67 4.2 checkpoint and recording / playback technology 67-73 4.2.1 The global consistency condition [ Bear 96] 67-69 4.2.2 checkpointing and rollback recovery problems 69-71 <br / > 4.2.2.1 midway messages and orphan messages [ Zhang Yu 97 ] [ Huang 97a] 69-70 4.2.2.2 domino effect and the live lock phenomenon 70-71 4.2.3 recording and playback 71-73 4.2.3.1 uncertainty 71 4.2. 3.2 recording and playback 71-72 4.2.3.3 vector clock 72-73 4.3 certainty based on state checkpointing to freeze 73-76 4.3.1 The basic idea 73-74 4.3.1.1 deterministic checkpointing 73 4.3.1.2 frozen state-based checkpointing technique 73-74 4.3.2 algorithm Description 74-75 4.3.3 based frozen state deterministic checkpoint analysis 75-76 4.4 Summary 76-78 Chapter debugger interference characteristics of parallel Programs 78 -92 5.1 Overview 78-80 5.1.1 disruption causes 78-79 5.1.2 eliminate the interference of each kind of technology 79 5.1.3 contents of the study 79-80 5.2 basic Concepts 80-82 5.2. a state function and the equivalent execution 80 5.2.2 cluster system messaging feature of the model 80-81 5.2.3 synchronous and Asynchronous freeze freezing 81-82 5.3 interference characteristics of an ideal model analysis 82-83 5.4 general Model 83-86 5.5 basic algorithm 86-90 5.5.1 freeze algorithm 87-88 5.5.2 thaw algorithm 88 5.5 .3 testing and analysis 88-90 5.6 without interference debug mode 90-91 5.7 Summary 91-92 first fast dynamic instrumentation chapters conditional breakpoint 92-105 6.1 Overview 92-93 6.1.1 conditional breakpoint 92 < br /> 6.1.2 fast conditional breakpoints meaning 92-93 6.2 Quick conditional breakpoint principle 93-94 6.3 system Design 94-97 6.3.1 code Generation 95 6.3.2 code instrumentation 95-96 6.3.3 source corresponding 96-97 6.4 Dyninst 97-98 6.5 system implementation 98-102 6.5.1 source program system corresponds 98-99 6.5.2 Dyninst modification and extension 99-100 6.5.3 fast conditional breakpoints to achieve 100-102 6.6 comparison with related work 102-104 6.6.1 portability better 102 6.6. 2 Test data and analysis 102-104 6.7 Summary 104-105 Chapter frozen state-based interactive performance debugging 105-115 < br /> 7.1 Overview 105-106 7.2 related research work 106-108 7.2.1 PARADYN plan 106-107 7.2.2 AIMS 107 7.2.3 GRADE [Roland00] 107-108 7.3 state-based interactive performance debugging freeze tools - pbuster 108-113 7.3.1 pbuster technical characteristics of the cartridge 108-110 7.3.2 performance data visualization features 110-111 7.3.3 interactive performance debug mode 111-113 7.3.4 frozen interactive performance based on state debug mode 113 < br /> 7.4 Summary 113-115 Chapter DENNET system design and implementation 115-128 8.1 Overview 115-116 < br /> 8.1.1 correctness debugging and performance tuning of integrated environment 115 8.1.2 supports PVM and MPI 115-116 8.2 system environmental 116-119 8.2.1 operating system interface and dyninstAPI tools 116-118 8.2.2 PVM and MPI 118 <br / > 8.2.3 source code symbol table information 118-119 8.3 DENNET system architecture 119-121 8.3.1 functional structure 119-121 8.3.2 hierarchical modular structure 121 8.4 design 121-122 8.5 comparison with other systems 122-124 8.6 DENNET analysis of the main features of the system 124-126 8.6.1 recording / playback 124-125 <br / > 8.6.2 dynamic debugging 125 8.6.3 dynamic conditional breakpoint 125 8.6.4 checkpoint 125-126 < br /> 8.6.5 interactive performance debug mode 126 8.7 Summary 126-128 Chapter IX of this paper summarizes and further work 128-133 9.1 Summary 128-130 9.2 further work 130-133 References 133-149 <br / > Thanks 149-151 doctoral research period and published academic papers 151-152

Related dissertations

  1. Research and Implementation of Fault Recovery Mechanism in Large-scale Graph Processing System Based on BSP
    NingChao ·Northeastern University ·2012 ·Master's thesis
  2. Journal Design and Implementation of Cappella Distributed File System
  3. Research and Implementation of Checkpoint System Based on Embeded Multi-core Environment
  4. Research of Optimizing Virtual Machine Checkpoint
  5. Lightweight Checkpoint of Virtual Machine Memory
  6. Multi-Strategies Ensemble Based on Artificial Immune System for Intrusion Detection System
  7. Research on Intrusion Detection Techniques of Web Service Composition Based on BPEL
  8. Research and Implementation of Active Defense System Based on Linkage
  9. Study of Optimization Technique of System Performance Based on Checkpoint
  10. Based on the Vehicle Side Occupant Restraint System Development Method Research
    LiangZuo ·Jilin University ·2013 ·Master's thesis
  11. Effect and Mechanism of Target for Induction of Differentiation and Cycle Arrest in Human Gastric Cancer Cells by Diallyl Disulfide
    LingZuo ·Nanhua University ·2007 ·Doctoral dissertation
  12. Research on Rollback Recovery Fault-Tolerance Technology in High Availability Cluster
    WangJiGang ·Harbin Engineering University ·2006 ·Doctoral dissertation
  13. RNA Interference as a Tool to Study the Function of MAD2 in Mouse Oocyte Meiotic Maturation
    WangJianYing ·Shandong Normal University ·2007 ·Doctoral dissertation
  14. The Role of Kinetochore Protein Mitosin in Mitosis
    YangZhenYe ·Shanghai Institutes for Biological Sciences ·2005 ·Doctoral dissertation
  15. The Research on Low-overhead Rollback Recovery Fault-Tolerance Technology
    YangJinMin ·Hunan University ·2005 ·Doctoral dissertation
  16. Study on Regulation of Human Ribonucleotide Reductase by p53-p21/p27 Pathway and the Mechanism of Gemcitabine Resistance
    XueLiJun ·Zhejiang University ·2004 ·Doctoral dissertation
  17. Roles of DNA Helicase WEB2 of Saccharomyces Cerevisiae in S Checkpoint Regulation Mechanism
    LiXinMing ·China Medical University ·2002 ·Doctoral dissertation
  18. A Biological Network of Saccharomyces Cerevisiae in Response to Oxidative DNA Damage and Its Relationship to Yeast Cell Chronological Aging
    YuShanShan ·Shandong University ·2009 ·Doctoral dissertation
  19. Research on Key Techniques of Rollback Recovery in Mobile Computing Environment
    ZhangZhan ·Harbin Institute of Technology ·2008 ·Doctoral dissertation
  20. Research on Dependable Job Scheduling in Grid