Linköping Studies in Science and Technology. Thesis No. 1576
2013
Multi-Threaded Distributed System Simulations
Using Bi-Lateral Delay Lines
Robert Braun
M ult i-T hr ea de d D istr ib ute d S ys te m S im ula tio ns Ro be rt B ra unDivision of Fluid and Mechatronic Systems Department of Management and Engineering
Linköping University se-581 83 Linköping, Sweden
www.liu.se Linköping 2013
2013
By running simulations in parallel on multi-core processors, simulation time can be significantly decreased. This thesis investigates the possibil-ities of making simulation models parallel by using independent distrib-uted solvers. Sub-components are separated numerically by transmission line elements. An algorithm for automatically distributing the workload with good load balancing is demonstrated. Synchronization between sim-ulation threads is maintained by a simsim-ulation routine using barrier locks. Measurements confirm that almost linear speed-up can be achieved for large models. The method is less useful for smaller models due to over-head costs. Experiments that confirm the feasibility on real-time applica-tions are also presented.
M ult i-T hr ea de d D istr ib ute d S ys te m S im ula tio ns Ro be rt B ra un