General Purpose Parallel Discrete Event Simulation Environment and the Study of Relevant Techniques

Author
ZhangYaoCheng
Advisor
LiZeXiang , HuangKeZuo
School
National University of Defense Science and Technology
Major
Control Science and Engineering
Classification
TP391.9 Computer simulation
Degree
Doctoral dissertation
Year
2008
Downloads
184
Citations
8

Request the full text

Abstract

Simulation as one of the three scientific research methods that facilitate the development of science and social progress has always been closely linked with the development of computing science and technology. Many of today’s challenging research topics and applications, such as complex battlefield simulation, design and verification of large-scale telecommunication networks and VLSIs, air or road traffic control, and decision supporting systems, have demands on model fidelity, computation time, and computational resources far exceeding the capabilities of today’s single CPU computers. Many of these problems can only be solved by utilizing parallel computers and Parallel Discrete Event Simulation (PDES) technology. Among the various research fields of PDES, the parallel simulation environment software plays a significant role. This dissertation evolves around key techniques essential to building a general-purpose, high-performance PDES environment. Through the case study of KD-PARSE (KD-PARallel Simulation Environment), a general-purpose high-performance PDES environment we developed, this dissertation illustrates a PDES system model that can capitalize on various hardware architectures, the design of time synchronization algorithms in PDES, event management techniques, event rollback algorithms, and model interoperability in PDES.The dissertation first analyzes various parallel hardware platforms and their respective computing models, and then categorizes PDES system models into four broad classes, namely synchronous, asynchronous, shared-memory and message-passing models. Based on this classification, this dissertation proposes an asynchronous PDES model based on MIMD parallel computers that uniformly uses message-passing paradigm. This PDES model is suitable for distributed, shared, or hybrid memory architectures. In this model events are scheduled by explicitly passing messages, and the lower communication layer takes responsibility for message routing and delivery. As a realization of this PDES model, this dissertation introduces PDES environment KD-PARSE, including its model representation, system architecture, especially how it achieves message passing and global synchronization in a communication environment that consists of distributed, shared, and hybrid memory architectures.Following this, this dissertation discusses time synchronization algorithms in PDES, categorizing the plethora of synchronization algorithms found in relevant literature into four basic types based on the values of key parameters in these algorithms, namely conservative, optimistic, fault-tolerant, and restricted optimistic. Then an algorithm that combines both aggressive and optimistic event processing, Breathing Time Warp, is introduced and discussed, along with PHOLD test results obtained on a cluster computing platform to prove its supremacy over pure conservative, optimistic or aggressive algorithms. Furthermore, this dissertation introduces a new synchronization algorithm called SafeBTW, that improves on BTW’s weakness in statically designating the degree of optimism in event processing by distinguishing between "safe causal scheduling relation" and "unsafe causal scheduling relation", thus controlling the propagation of optimistic processing risks. PHOLD tests conducted on the same cluster platform prove that the new algorithm can effectively reduce overhead caused by secondary rollbacks, improve the overall computational efficiency, and achieve desirable scalability as the number of computing nodes increases.Then, based on the actual design in KD-PARSE, this dissertation discusses the event model and event list management in PDES that support optimistic event processing. The relationship between event and simulation object is first introduced, and the design of KD-PARSE’s rollback algorithm and framework that utilizes Incremental State Saving algorithm, anti-message, and lazy rollback mechanisms are illustrated. Then the event list design and node-wide event management service of KD-PARSE are discussed, followed by its event state management. Event management overhead is also given through a performance benchmark test.At last, this dissertation introduces a model interoperability framework design in KD-PARSE based on its entity model and event processing mechanism. It consists of a data distribution framework and interaction management framework, allowing entities in a PDES to publish and subscribe to entity state information and interact with each other through means similar to those devised in HLA standard. It also provides a Data Distribution Management (DDM) service based on entity attribute values and subscription interest expressions. To improve performance in commonly found distributed memory environment such as cluster computers, the data distribution framework is optimized in KD-PARSE. The optimized design, compared with non-optimized design, can significantly improve DDM service performance and scalability in distributed memory environment.

Table of contents

Abstract 11-13 ABSTRACT 13-15 first chapter 15-34 1.1 Background 15-21 1.1.1 parallel simulation and parallel discrete event simulation 17-19 1.1.2 parallel simulation serial and distributed simulation technology 19-21 the research and application of 1.2 PDES The 21-29 1.2.1 PDES theoretical foundation 21-27 1.2.2 PDES technology application status 27-28 1.2.3 PDES technology development and challenges 28-29 1.3 issues raised 29-31 1.4 dissertation contents, organizational structure and contribution 31-34 the research content 1.4.1 papers 31-32 organizational structure 1.4.2 papers 32-33 1.4.3 papers main contribution 33-34 parallel simulation environment the KD-PARSE architecture design are found; 34-60 2.1 parallel computing environment with the KD-PARSE system model 34-43 2.1.1 parallel computing environment and general PDES model 34-42 2.1.2 KD-PARSE parallel simulation system structure 42-43 2.2 KD-PARSE parallel simulation environment architecture design 43-51 2.2.1 Overview 43-44 2.2.2 Related work 44-46 2.2.3 KD-the PARSE simulation environment architecture 46-51 2.3 KD-PARSE modeling environment designed 51-59 2.3.1 modeling environment overall design 51-52 2.3.2 KD-the PARSE modeling unit and related services 52-59 2.4 This chapter Summary 59-60 the the KD-PARSE communication module design and implementation 60-72 3.1 KD-PARSE communication service module design 60-61 3.2 KD-PARSE communication libraries semantic layer 61-63 3.3 KD-PARSE communication layer structure and initialization process 63-65 3.4 event messages sent 65-68 3.4.1 point-to-point messages sent 66 3.4.2 multicast and broadcast messages sent 66-67 3.4.3 shared memory server message send operation 67-68 3.5 between the nodes of the Statute and synchronous operation are found; 68-69 3.6 non-blocking synchronous operation (Nonblocking Synchronization) 69-72 the parallel simulation synchronization algorithm research and SafeBTW synchronization algorithm 72-97 4.1 synchronization algorithm classification 72-78 4.1.1 conservative synchronization algorithm (Conservative Algorithms) 73-74 4.1.2 optimistic synchronization algorithm (Optimistic Algorithm) 74-76 4.1.3 Fault-tolerant synchronization (Fault-tolerant Synchronization) 76 4.1.4 limited optimism synchronization (Restricted Optimistic Synchronization) 76-78 4.2 Breathing Time Warp algorithm 78-91 4.2.1 PHOLD experimental model 79-80 4.2.2 Performance Evaluation 80-81 4.2.3 Breathing Time Bucket algorithm 81-91 4.3 SafeBTW synchronization algorithm 91-96 4.3.1 SafeBTW algorithm basic principle 92-94 4.3.2 SafeBTW algorithm PHOLD experimental results 94-96 4.4 This chapter Summary 96-97 Chapter event management services and rollback framework design and implementation 97-118 the PDES in 5.1 event model 97-109 the events PDES in 5.1.1 with the event loop process 97-99 5.1.2 KD-PARSE in the model layer class 99-100 5.1.3 support rollback operations nbsp event model; 100-109 5.2 KD-PARSE event queue design 109-113 5.2.1 event queue data structure 109-111 5.2.2 KD-the PARSE simulation environment in the event queue structure 111-113 5.3 KD-PARSE event status management 113-115 5.4 KD-PARSE event management services layer performance testing 115-117 5.4.1 testing experimental model 115-116 5.4.2-the HOLD experimental results 116-117 5.5 This chapter Summary 117-118 the sixth chapter model interoperability framework for the design and implementation of 118-141 6.1 simulation model interoperability 118-120 the interoperable mechanisms in 6.1.1 Distributed Simulation 118-119 6.1.2 Parallel Simulation interoperability mechanism 119-120 6.2 support interoperable simulation Object Model 120-125 6.2.1 may be published attribute (Publishable the Attributes) 120-121 6.2.2 proxy object-PO (Proxy Object) mechanism 121-122 6.2.3 filtration properties and interests expression 122-124 6.2.4 PO Manager (PO Manager) 124 6.2.5 Automatic PO event 124-125 6.3 data distribution framework design 125-134 6.3.1 KD-PARSE data distribution framework composed 125 6.3.2 Interest Manager object 125-127 6.3.3 node PO distributor 127-132 6.3.4 Data Distribution Framework validation experiments 132-134 6.4 optimized cluster environment based on the data distribution framework 134-138 6.4.1 Basic data distribution framework structure 134-135 6.4.2 cluster environment based on the optimization of data distribution framework are found; 135-137 6.4.3 optimize data distribution framework for performance experiments and results analysis 137-138 interaction mechanism 6.5 entities 138-140 6.6 Chapter Summary 140-141 Chapter VII Summary and Outlook 141-144 7.1 paper summarizes 141-142 7.2 Future Work Looking 142-144 Acknowledgements 144-145 the Abbreviations table 145-147 the References 147-159 the author published during the PhD academic 159

Related dissertations

  1. The Research and Application of Event Model Based Domain-driven Design on Web Development
  2. Dynamic Information Processing Approach Based on Event Model in Software Debugging and Tool
  3. Research on Intelligent Building Management System Integration Based on Emergency
  4. A New Development Method for Information Systems Based on Workflow Modeling Technique
    LiJingZhou ·Institute of Computing Technology ·2001 ·Doctoral dissertation
  5. Database Technologies on the DIS/HLA Simulation Run-Time Environment
  6. Research on Key Issues of Distributed Virtual Environments
    ChenLing ·Zhejiang University ·2004 ·Doctoral dissertation
  7. Research and Implementation of Interconnection Technology of Multi-federations in HLA
  8. High Level Architecture (HLA) in Interest Management Research and Implementation
  9. Parallelization of Simulation Model Portability Specification on Multi-core Computer
  10. Research on Performance Optimization of Parallel Discrete Event Simulaiton for Complex System Application
  11. Research on Performance Optimization for Parallel Discrete Event Simulaiton on Multi-core Cluster
  12. Formal Semantics, Algorithm Evaluation of Logical Process Paradigm and Their Application in Spatial Stochastic Simulation
  13. Research on Component-based Visual Modeling Technology for Parallel Discrete Event Simulation
  14. The Research on DDM Algorithm in HLA
    ZhangGuiSheng ·Shanxi University ·2007 ·Master's thesis
  15. Research and Application of distributed simulation support environment key technologies
  16. Application Study on Data Distribution Management of Large Complex System
    ChenLiFeng ·Wuhan University ·2004 ·Master's thesis
  17. Study and Implementation of Distributed Simulation Infrastructure Comply with IEEE1516
  18. Research and Implementation of the Security Event Management System Based on STAT Technology
    ZuoXiaoZuo ·East China Normal University ·2007 ·Master's thesis
  19. Distributed virtual test system run support architecture research
  20. Application in HLA Technology of Distributed Interactive Simulation Systems
    LiHongYi ·Southeast University ·2006 ·Master's thesis