Research on Performance Optimization for Parallel Discrete Event Simulaiton on Multi-core Cluster

Author
ChenLiLi
Advisor
YaoYiPing
School
National University of Defense Science and Technology
Major
Computer Science and Technology
Classification
TP391.9 Computer simulation
Degree
Doctoral dissertation
Year
2011
Downloads
75
Citations
1

Request the full text

Abstract

With the deepening of simulation applications, system simulation scale is growing, increasing the complexity of the individual model, the simulation system of the increasing demand for computing resources, how to shorten the running time of the large-scale simulation system to improve simulation applications efficiency, is the focus of current research issues in the field of discrete event simulation in parallel. With the rise of multicore computing revolution, general-purpose multi-core CPU parallel is becoming mainstream trends. The delay can provide considerable performance potential of multi-core CPU with low communication between an on multiple nuclear. However, the simulation system is currently running on multi-core clusters due mostly parallel simulation technology is used in traditional cluster, although certain parallel speedup, but still difficult to give full play to the performance potential of multicore processors, therefore, to carry out multi-core clusters parallel discrete event simulation performance optimization technology research has important theoretical and practical significance, give full play to the performance potential of multicore processors to improve the operating efficiency of simulation applications, and promote the development of China's large-scale simulation applications. Thesis parallel discrete event simulation system can not effectively take advantage of multi-core computing resources in order to further improve the parallel discrete event simulation applications running efficiency as a fundamental goal, time management algorithms, load balancing, shared state property access mechanisms, communication optimization parallel the key issue of the performance of discrete event simulation carried out in-depth research, the main work and innovations are as follows: (1) support multi-core multi-threaded and MPI parallel mode combination multicore cluster parallel simulation time management mechanism. The simulation time synchronization is to determine the core elements of the operating performance parallel discrete event simulation. Multithreaded parallel scheduling can give full play to the multicore processor shared memory address space low communication latency advantage, but the simulation engine in the combination of multi-core multi-threaded and MPI parallel mode, the lack of efficient synchronization support. Thesis for this problem, in-depth analysis of parallel discrete event simulation multithreaded parallel scheduling mechanism and distributed synchronization algorithm based on multi-core cluster support multi-core multi-threaded and MPI parallel mode combination parallel simulation time management mechanism, the mechanism uses revised Mattern algorithm to adapt to heterogeneous multi-threaded and MPI parallel through a finite state machine life cycle and the state of the conversion process each message event management, design no lock mechanism for amending the event status to avoid lock overhead . The experimental results show that with the calculation of the number of nodes increases, time management mechanism of the in reasonable running configuration, parallel simulation on multi-core clusters exhibit good parallel speedup; simulation entities nuclear interaction probability is more than 40% relatively multi-process MPI parallel speedup can reach about 1.8. (2) The proposed event scheduling mechanism for automatic load balancing on multicore processors in parallel discrete event simulation system. In parallel discrete event simulation system, load balancing affects the synchronization and communication overhead, and thus affect the operating performance of the entire system. Dynamic load-balancing mechanism for parallel simulation event scheduling overhead and load balancing both strong target difficult to achieve. To solve this problem, the paper proposed a distributed queue global scheduling mechanism, the mechanism through global scheduling to achieve dynamic load balancing mechanism design to reduce global scheduling overhead distributed event queue structure and no lock event data structure; experimental results show that the traditional algorithm larger amount of rollback or difficult to achieve dynamic load balancing, based on the thesis of the mechanism not only the event scheduling overhead is small, and the rollback rate can be reduced from 10% to 80%, reflecting good load balancing capabilities. (3) The proposed parallel discrete event simulation system based on multi-core environment transactional memory shared attribute access mechanism. Parallel discrete event simulation system, there is often a lot of state data communication, such a large number of communication easily lead to the decline in the performance of the simulation system. Shared attribute most of the communication mechanism using the object agent technology, can not give full play to the advantage of low communication latency multi-core processor shared memory address space. The papers for this problem, the design the PDES-STM transactional memory-based shared attribute access mechanism. The mechanism based on the characteristics of parallel discrete event simulation each simulation event corresponds to a transaction, the simulation event concurrent execution of the correctness of the shared state property access by conflict detection and resolution mechanisms transactional memory system to guarantee. The instance analysis results display the PDES-STM can effectively reduce the memory overhead and the number of messages; running results show that the test platform paper presents the PDES-STM performance advantages relative based on the message to achieve access to \increases more and more obvious. (4) The proposed parallel simulation system on multi-core cluster communication latency hiding algorithm. Communication delay is one of the main factors restricting the distributed computing environment simulation scalability and performance improve. Communication optimization techniques of massive fine-grained model simulation applications in parallel and distributed environment is still not enough communication latency hiding for this problem, the paper presents the optimized B 2R latency hiding algorithm to calculate for Communications -O (B 2R) algorithm, the algorithm is reasonable value of R is selected based on the network transmission time, received outdated entity state the value of the additional R time steps calculated to hide the communication delay, so as to obtain more concurrency. The theoretical analysis shows that the algorithm can achieve full communication latency hiding in a reasonable configuration. For CPU and GPU characteristics, the O (B 2R) algorithm is extended to the GPU platforms designed B 2 (R × r) algorithm. The experimental results show that the paper presents the communication delay hidden mechanism to hide communication delay, in reasonable running configuration can improve performance more than 40%, can be used for computing and communications between the balanced multicore cluster level computing resources overhead. On the basis of the results of the above study, the paper Musik simulation engine based on the design and realization based the multicore clusters hierarchical parallel discrete event simulation framework; model of trends in public opinion through public emergencies conditions on its multi-core cluster comprehensive test results show that the optimization techniques used so that the overall simulation system performance improvement of about 45%, and showed good scalability.

Table of contents

Abstract 12-14 Abstract 14-16 first chapter 16-34 1.1 Background and significance 16 - 17 1.2 concept 17-24 1.2.1 Parallel Discrete Event Simulation Technology Overview 17-19 1.2.2 parallel discrete event simulation performance factors evaluation parameters and indicators the 19-22 1.2.3 multinucleated cluster, Architecture Overview 22-24 1.3 research situation 24-30 <br / > 1.3.1 parallel discrete event simulation engine introduced 24-26 1.3.2 parallel discrete event simulation for the multicore optimization techniques Research 26-28 1.3.3 based the problems faced by the multi-core cluster parallel discrete event simulation performance nbsp 28-30 1.4 thesis research objectives and work; the dissertation research goals nbsp 30-33 1.4.1 ; 30 1.4.2 thesis research 30-31 1.4.3 papers main innovations 31-33 1.5 papers organizational structure 33-34 management mechanism based on parallel discrete event simulation of multi-core clusters 34-60 2.1 Introduction 34 2.2 Related work 34-35 2.3 overall organizational structure 35-36 2.4 based a multicore cluster of MPI and multithreading combined optimistic time management algorithms 36-49 <br / > 2.4.1 event lifecycle state conversion 36-37 the 2.4.2 event data structure 37-38 2.4.3 event scheduling 38-42 2.4.4 events revocation 42-45 2.4.5 scheduling unit synchronization and mutual exclusion 45-47 2.4.6 GVT calculated and synchronized 47-49 2.5 performance testing and analysis 49-58 2.5.1 experimental environment 49-51 2.5.2 single-node performance on the test 51-54 2.5.3 multi-node performance test 54-58 2.6 Chapter Summary 58-60 <br / > Chapter multicore environment, load balanced global event scheduling mechanism 60-78 3.1 Introduction 60 3.2 work with limitations 60-62 < br /> 3.3 based a multicore global event scheduling mechanism 62-69 3.3.1 basic problem described 62 3.3.2 parallel mode is divided 62-64 3.3.3 global scheduling strategy to overview the 64-66 3.3.4 based on a multi-core distributed queue global scheduling policy 66-69 3.4 Experimental results and discussion the 3.4.1 experimental environment 69-75 the 69-70 3.4.2 Experimental Design 70 3.4.3 Experimental results and analysis 70-74 3.4.4 lock performance 74-75 3.5 global event scheduling mechanism limitations 75-76 3.6 of this chapter Summary 76-78 Chapter property access mechanism based on a multicore parallel discrete event simulation system status 78-98 4.1 Introduction 78 4.2 research work limitations 78-80 4.3 attribute access mechanism PDES-based transactional memory shared state STM 80-90 4.3.1 basic problem described 80-81 4.3.2 user interface 81 4.3.3 based on optimistic synchronization protocol the PDES affairs memory 81-84 4.3.4 based on conservative protocol PDES transactional memory 84-85 4.3.5 Application example 85-88 4.3.6 Experimental results and analysis 88-90 4.4 based on multi-core cluster hierarchical the PDES object proxy mechanism 90-96 4.4.1 basic problem described 90-92 4.4.2 multicore cluster environment the PDES object proxy mechanism optimization 92-94 4.4.3 multi-core cluster environment, the dynamic properties 94-95 4.4.4 Experimental results and analysis 95-96 4.5 Chapter Summary 96-98 Chapter multicore cluster based parallel simulation system communication latency hiding technology 98-114 5.1 Introduction 98 5.2 Problem description and related research 98-100 5.3 based on massively parallel simulation of multi-core cluster system communication delay hidden technology 100-108 5.3.1 O ( B 2R) delay hidden algorithm 100-103 5.3.2 analysis model 103-104 the 5.3.3 B 2R Algorithm 104-105 5.3.4 extended to the CPU GPU heterogeneous cluster B (R x r) algorithm 105-107 5.3.5 communication to achieve analysis 107-108 5.4 performance evaluation 108-112 5.4.1 the multicore CPU cluster experimental results analysis 108-109 5.4.2 manycore GPU cluster experimental results analysis 109-112 5.5 Chapter Summary 112-114 Chapter multicore cluster based parallel discrete event simulation framework and integrated applications 114-128 6.1 Introduction 114 6.2 parallel discrete event simulation framework based on multi-core clusters hierarchical 114-117 optimistic parallel simulation system based on multi-core clusters of public opinion 6.3 strategy 117-126 the 6.3.1 related research work the 117-118 6.3.2 System Modeling 118-119 6.3.3 parallel strategy 119-123 6.3.4 Performance evaluation 123-126 6.4 Chapter Summary 126-128 Chapter VII Conclusion 128-132 7.1 the papers working summarize 128-129 7.2 further research 129-132 Acknowledgements to References 132-134 134-144 the nbsp academic achievements made by the author during the study period; 144-145 participate during the PhD research work 145-146 Appendix A lock code 146-147

Related dissertations

  1. Heterogeneous Platform Research Based on Streamit Compiler
    WangBo ·Tsinghua University ·2011 ·Doctoral dissertation
  2. Study on Multi-core-based Parallel Processing of Parallel Discrete Event Simulation
  3. Core temperature for the public perception of the Linux scheduler Research and Implementation
    YinXiaoJing ·Shanghai Jiaotong University ·2011 ·Master's thesis
  4. Research and Implementation of DNS64Key Technology in the IPv4/IPv6Transition
    ShaoShuai ·Harbin Engineering University ·2013 ·Master's thesis
  5. Self-Tuning Data Prefetcher for Embedded System
    XinYuan ·Zhejiang University ·2013 ·Master's thesis
  6. Research on Conflict Management Strategies in Multicore-oriented Software Transactional Memory
    XieYing ·Northeastern University ·2013 ·Master's thesis
  7. The Research and Implement of Virtualization Technology Based on Cluster of Server
  8. The Realistic Conditions and Specific Approaches for Development of Creative Industry Clusters in Jinjiang District, Chengdu City
  9. Effects of Simulated Weightlessness on the Degenerative Mechanism of Lumbar Intervertebral Disc
    WangZengShun ·Dalian Medical University ·2013 ·Master's thesis
  10. Effects of Ag, Mg, Er Elements on the Formation and Evolution of Clusters and Mechanical Properties of Al-Cu-Mg-Ag Alloys
    BaiSong ·Central South University ·2013 ·Doctoral dissertation
  11. A Theoretical Study on the Part of the Carbon Nitrogen Cluster
    HuFeng ·Qilu Industrial University ·2013 ·Master's thesis
  12. The VoR-Tree index the parallel construction technology research based on MapReduce
    ChenFeiLun ·Jiangxi University of Technology ·2012 ·Master's thesis
  13. Fabrication and Transmission Property Research of Photonic Crystal Fiber
  14. Design and Supermode Analysis of Seven-core Photonic Crystal Fiber
    LiuMeng ·Yanshan University ·2013 ·Master's thesis
  15. The Design and Implementation of News and Information Processing System Based on the Semantics
  16. Applied Research on Local Qualitative Factors in the Analysis of Medical Data
    YangYang ·Zhengzhou University ·2013 ·Master's thesis
  17. Design and Implementation of Hadoop Cluster Monitoring System
    XuYuHong ·Harbin Institute of Technology ·2013 ·Master's thesis
  18. A Clustering Algorithm Based on Local Information in Social Network
    XiaLei ·Harbin Engineering University ·2012 ·Master's thesis
  19. Design and Implementation of Enterprise Crm System Based on Mobile Internet
  20. Design and implementation of a hierarchical MapReduce model based on multi-core clusters
    XiaoZhiWei ·Fudan University ·2012 ·Master's thesis