Title :
Deferred vs. immediate modification of simulation state in a parallel discrete event simulator using threaded worker pools
Author :
Mutschler, David W.
Author_Institution :
Naval Air Syst. Command (NAVAIR), Patuxent River, MD, USA
Abstract :
The joint integrated mission model (JIMM) is a real-time legacy battlefield simulator employed in detailed analyses and virtual exercises. To leverage more processors to improve real-time execution, a worker pool of threads optimistically executes events in parallel but avoids cascading rollback by executing only one future event per simulated object. Safeguards for maintenance of simulation state are programmed explicitly and either deferred or immediate modification of state variables could be employed in case of event rollback. In the beginning of the main parallelization effort, deferred modification was used where simulation state is updated only when the event can be completed safely. However, after successful implementation, it was determined to be impractical. Later, all safeguard programming employed immediate modification where original state is restored in case of rollback. This paper discusses these techniques for parallel execution of events in JIMM from initial efforts through later code maintenance.
Keywords :
discrete event simulation; military computing; multi-threading; event rollback; joint integrated mission model; parallel discrete event simulator; parallel event execution; real-time legacy battlefield simulator; threaded worker pool; virtual exercise; Analytical models; Computational modeling; Computer simulation; Concurrent computing; Discrete event simulation; High performance computing; Real time systems; Rivers; System testing; Yarn;
Conference_Titel :
Simulation Conference, 2008. WSC 2008. Winter
Conference_Location :
Austin, TX
Print_ISBN :
978-1-4244-2707-9
Electronic_ISBN :
978-1-4244-2708-6
DOI :
10.1109/WSC.2008.4736173