University of Cincinnati
Pending Event Set Management in Parallel Discrete Event Simulation
Abstract
dc:descriptionIn Parallel Discrete Event Simulation (PDES), the pending event set refers to the set of eventsavailable for execution. These pending events are aggressively scheduled for execution in a Time Warp synchronized parallel simulation without strict enforcement of the causal relationship between events. For most discrete event simulation models, event processing granularity is generally quite small. On many-core and multi-core platforms, this decrease in granularity aggravates contention for the shared data structures which store these pending events. As the number of cores increase, a key challenge lies in providing effective, contention-free event list management for scheduling events. Lock contention, sorting, and scheduling order are the prime contributors to contention for access to the pending events set.Possible solutions to this problem include atomic read-write operations, hardware transactional memory, or synchronization-friendly data structures. The focus is on choosing efficient data structures for the pending event set and optimization of scheduling techniques that can improve the performance of the Time Warp synchronized parallel simulation. The following design concepts for optimizing the pending event set are explored in this dissertation: 1. an exploration of a variety of different data structures that are commonly used in the management of pending event set. In addition, the management of the pending event set using a Ladder Queue data structure is explored. The Ladder Queue forms a self-adjusting hierarchically partitioned priority queue that makes it particularly attractive for managing the pending event set 2. the elimination of sorting within the Ladder Queue partitions. Events are then scheduled from the lowest partition without concerns for their time order and causal independence of these events is assumed3. an atomic read-write access to the Ladder Queue partition that holds the smallest available events is explored4. Objects containing groups of events are organized in the pending event set. Each group is dequeued with one access and the collection of events are scheduled. Several different options for the definition of these groups and how these groups are scheduled is explored.Experimental results show that fully-sorted Ladder Queue is over 20% faster than STL MultiSet and Splay Tree. It was also observed that Ladder Queue with unsorted lowest partition is at least 25% faster than fully-sorted Ladder Queue for all discrete event simulation models studied. The atomic read-write access to this lowest partition of the Ladder Queue allows simulation models to run 25-150% faster than the fully-sorted Ladder Queue. Furthermore, studies indicate that scheduling events in groups provides up to 100% gain in performance for some simulation models. The experiments also show that the modularity-based partitioning of LPs makes a simulation run as fast as Ladder Queue with atomic read-write operations for some kernel and model configurations. Overall Ladder Queue with atomic read-write access to its unsorted lowest partition has the best performance among the scheduling data structures studied and multiple schedule queues is the choice for scheduling strategy. Combining the two together results in the most effective scheduling mechanism. There is over 100% boost in performance for some models when this combination is compared to any of the other efficient configurations mentioned above.Each of the aforementioned concepts explored address the contention to the shared data structures that store the pending event set. The work on group and bag-centric scheduling draws inspiration from the study on profile-driven data collected from discrete event simulations. This study helped guide the design and optimization of scheduling strategies for the pending event set in a Time Warp synchronized parallel simulation.
Degree
thesis:*- Name thesis:degree_name
- PhD
- Level thesis:degree_level
- doctoral
- Discipline thesis:degree_discipline
- Engineering and Applied Science: Computer Science and Engineering
- Grantor dc:publisher
- University of Cincinnati
- Year dc:date
- 2018
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Gupta, Sounak
- Chair dc:contributor.committeechair
-
- Wilsey, Philip
Subjects
dc:subject × 7Rights
dc:rights- Statement dc:rights
-
- unrestricted
- This thesis or dissertation is protected by copyright: some rights reserved. It is licensed for use under a Creative Commons license. Specific terms and permissions are available from this document's record in the OhioLINK ETD Center.
- Language dc:language
- English
Identifiers
dc:identifier.*- Repository record dc:identifier
- http://rave.ohiolink.edu/etdc/view?acc_num=ucin1535701778479768