Formal Modeling,Verification and Performance Evaluation of Multi-core Software
- Author
- LinYing
- Advisor
- LiTong
- School
- Yunnan University
- Major
- System Analysis and Integration
- Classification
- TP311.52 Software Development
- Degree
- Doctoral dissertation
- Year
- 2013
- Downloads
- 64
- Citations
- 0
Abstract
The emergence of multi-core architecture meets the dual demands of high-performance and low-power consumption, but at the same time, it also brings new challenges in the area of parallel programming. Research of effective methods and tools to support multi-core parallel software development is an urgent problem now.Aiming at developing proper, high-performance and scalable multi-core applications, this dissertation firstly proposed a formal development method which is based on the theory of petri net. Due to its intuitive graphical expression capability and rigorous mathematical foundation, petri net is particularly suitable for representation and analysis of applications with concurrency, synchronization and conflict features. By qualitatively understanding modeled system’s dynamic behavior and quantitatively calculating various performance indicators, this formal method effectively supports validation and evaluation work in the early stage of multi-core software development. Secondly, a method of acceleration sequential applications on mulit-core architecture is also proposed. The purpose of constructing program dependence graph and then transforming it into petri net is to make use of various model analysis methods of petri net. Specifically, the main contents and contributions of this dissertation are as follows:(1) Based on the theory of petri net, method of constructing MTP-PN (Multi-threaded Program Petri Nets) is proposed to satisfy the modeling requirements of multi-threaded parallel programming. By an abstract description of multi-threaded program, MTP-PN allows programmer to put more energy into the parallel program itself rather than some specific implementation details. By modeling the structure, the function and threads interaction, MTP-PN can effectively represent multi-threaded program’s characteristics as concurrency, synchronization, resource conflicts, etc.;(2) Some verification algorithms which are dedicated to validate structure properties and dynamic properties of MTP-PN are proposed. These verification algorithms can help programmer to efficiently detect whether there have competition, deadlock, live lock or other common concurrency errors in the early stage of the program design phase, thereby reducing design errors, and improving the reliability of software systems;(3) To satisfy the demand of performance analysis and evaluation of multi-core software, a method of extending MTP-PN to generalized stochastic MTP-PN is introduced. Based on the generalized stochastic MTP-PN, it not only can alleviate the state explosion problem, but also can quantitatively analyze program’s various performance indicators;(4) Algorithms of constructing program dependence graph, as well as transforming program dependence graph into petri net are proposed. The method of transforming PDG to petri net not only helps programmer to detect conflicts and deadlocks existed in the program, but also helps programmer to easily find interdependencies among various modules of the program;(5) Analyzing petri net by P-invariant technology is proposed.Study case showed that this method can effectively identify non-loop parallelism and can improve the efficiency of inherent parallelism identification.This method provides a new practical analytical method of parallel optimization for sequential programs.Based on the theory of petri net, this dissertation not only effectively supports the verification and performance evaluation in the early stage of software development, but also provides a new approach on parallel optimization of sequential programs. As the polynuclear structure has been becoming the mainstream of the general-purpose processor, the work of this dissertation has certain research and application value.
Table of contents
Summary 3-5
Abstract 5-7
directory 7-11
Chapter 1 Introduction 11-24 <br / > chapter Objectives 11
1.1 background appear 11-19
1.1.1 multicore processor architecture 11-14
1.1.2 concurrent and Parallel opportunities and Challenges 14-15
1.1.3 software developers face multicore era 15-17
1.1.4 formal development of concurrent software 17 -19
1.2 The main work 19-22
1.2.1 Research objectives and significance 19
1.2.2 research ideas and research 19 -21
1.2.3 The main contribution 21-22
1.3 thesis structure Summary Chapter 2 studies 22-24
24-31
chapter Objectives 24
2.1 Introduction 24-25
2.2 PETRI net modeling and analysis of concurrent programs 25-26
2.3 parallel program performance analysis and evaluation 26-29
2.4 serial program parallelization 29-30
2.5 Summary 30-31
Chapter 3 studies related theoretical foundation 31-43
chapter Objectives 31
3.1 Introduction 31
3.2 software development based on multi-core architecture 31-34
3.2.1 multicore parallel programming model 31-32
3.2.2 multicore parallel design 32-34
3.3 PETRI net basic theory 34 - 37
3.3.1 basic terms 34-36
3.3.2 basic nature 36-37
3.4 stochastic PETRI net 37-42 <br / > 3.4.1 stochastic Petri nets defined 37-39
3.4.2 Generalized Stochastic Petri nets 39-42
3.5 Summary 42-43 <br / > Chapter 4 of MTP-PN multicore software modeling and verification 43-85
Chapter Objectives 43
4.1 Introduction 43-44
4.2 multithreaded programs abstract 44-47
4.3 MTP-PN modeling 47-55
4.3.1 MTP-PN defined 47-48
4.3.2 The basic control structure modeling program 48-51
4.3.3 modeling the interaction of threads 51-55
4.4 MTP-PN modeling rules and procedures 55-64
4.4.1 modeling rules 55-62
4.4.2 modeling steps 62-64
4.5 MTP-PN and its basic properties verify 64-79
4.5.1 structural properties and related verification algorithms 65-71
4.5.2 dynamic nature and related verification algorithms 71-78 <br / > 4.5.3 reasonable definition and validation algorithm 78-79
4.6 modeling 79-83
4.6.1 model 79-82
4.6.2 model 82-83
4.7 Summary 83-85
Chapter 5 software performance based on Generalized Stochastic MTP-PN model evaluation 85-102
chapter Objectives 85
5.1 Introduction build 85-86
5.2 Generalized Stochastic MTP-PN model 86-93 <br / > 5.2.1 Generalized Stochastic MTP-PN defined 86
5.2.2 instantaneous changes and time changes identified 86-91
determine nbsp 5.2.3 randomly switch ; 91-93
5.3 software based on Generalized Stochastic MTP-PN performance evaluation performance evaluation 93-101
5.3.1 Generalized Stochastic MTP-PN is 93-94
multicore architectures under 5.3.2 performance evaluation of generalized stochastic MTP-PN 94-101
5.4 Summary 101-102
Chapter 6 multicore acceleration serial program 102-128
chapter Objectives 102
6.1 Introduction 102-103
6.2 program analysis 103-106
6.2. a control dependence 103-105
6.2.2 data dependence 105-106
6.3 program dependence graph constructed 106-121
6.3.1 control dependency graph 106-113
6.3.2 data dependency graph 113-119
6.3.3 program dependence graph 119-121
6.4 program relies Figure converted to P / T nets 121-127
6.4.1 conversion Rules 121-122
6.4.2 conversion algorithm 122-127
6.5 Summary 127-128
Chapter 7 parallel recognition method based on P invariant structural decomposition 128-143
Chapter Objectives 128
7.1 Introduction 128
7.2 parallelization method based on network studies PETRI 128-129
7.3 P invariant structure based decomposition method 129-136
7.3. 1 P invariant 129-130
7.3.2 solving P invariant 130-136
7.4 parallel identification 136-140
7.4.1 parallel to identify conditions based library invariants 136-139
7.4.2 program Analysis 139-140
7.5 counterexample shows 140-142
7.6 Summary 142-143
Chapter 8 case studies 143-167
Chapter Objectives 143
8.1 cases a ( personal firewall key technologies in multi-core modeling, verification and implementation of the platform ) 143-158
8.1.1 system MTP-PN modeling 144-148
8.1.2 based on Generalized Stochastic MTP-PN performance Analysis 148-153
8.1.3 system implementation 153-156
8.1.4 Summary 156-158
8.2 case II ( matrix multiplication algorithm modeling, verification and implementation of the multi-core platform ) 158-167
8.2.1 model 158-160
8.2.2 performance Evaluation 160-162
performance Evaluation 8.2.3 multicore architecture 162-164
8.2.4 comparison and analysis of the experimental results 164-166
8.2.5 summary 166-167
Chapter 9 summary and Outlook 167-170
9.1 the main contribution 167-168
9.2 further research work 168-170
References 170-177
hosted and participated in study subjects during doctorate published and hiring 177-178
during PhD papers 178-179
Thanks 179
Related dissertations
- Research on Performance Evaluation of Industry-University-Research Institute Collaborative Technology Innovation in Shaanxi Province
- The Study on the Innovation Research of Science Park’s Management Model
- Fuzzy Neural Network-Based Performance Evaluation for Patent Technology Transformation of Scientific Research Institutes
- Performance Evaluation Criteria of Value-Added Internal Audit Research
- Research on the Performance Evaluation of Internal Audit on Pefrormance Prism
- Evaluation of Performance of the Audit Committee in Listed Company and Its Application
- The Construction of University Internal Audit Performance Evaluation System Based on Balanced Scorecard
- A Research on National Social Security Fund Investment Performance Evaluation Based on VaR-RAROC Model
- Study on the Performance Evaluation of Tianjin Financial Service System Based on ANP Analysis
- The Performance Evaluation of Open-Ended Fund in China Based on Dea
- Research on the Performance Evaluation System of Government Venture Capital Funds
- Long-term Performance of Stock Funds
- Study on Open-end Fund Performance Evaluation Method Selection
- The Research on the Performance of Housing Accumulation Fund Loan in China
- Kunshan Rural Commercial Bank Microfinance Operation Mechanism and Performance Evaluation
- The Performance Evaluation of Trust Companies in China
- The Research of Performance Evaluatioh of Sub-Branchin Rural Credit Union
- The Performance Evaluation of Listed Commercial Banks in China Based on Grey Correlation Analysis
- Research on Index System of Performance Appraisal of Commercial Banks
- The Study on Optimising Secondary Sub-branch of BOC Bank’s Performance Evaluation System