On learning algorithms and balancing loads in Time Warp

  • Authors:
  • Myongsu Choe;Carl Tropper

  • Affiliations:
  • School of Computer Science, McGill University, Montréal QC, Canada H3A 2A7;School of Computer Science, McGill University, Montréal QC, Canada H3A 2A7

  • Venue:
  • PADS '99 Proceedings of the thirteenth workshop on Parallel and distributed simulation
  • Year:
  • 1999

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present, in this paper, an algorithm which integrates flow control and dynamic load balancing in order to improve the performance and stability of Time Warp. The algorithm is intended for use in a distributed memory environment such as a cluster of workstations connected by a high speed switch. Our flow control algorithm makes use of stochastic learning automata and operates in the fashion of the leaky-bucket flow control algorithm used in computer networks. It regulates the flow of messages between processors continuously throughout the course of the simulation, while the dynamic load balancing algorithm is invoked only when a load imbalance is detected. Both algorithms make use of a space-time product metric and collect the requisite information via a snapshot-based GVT algorithm.We compare the performance of the flow control algorithm, the dynamic load balancing algorithm and the integrated algorithm with that of a simulation without any of these controls. We simulated large shuffle ring networks with and without hot spots and a PCS network on an SGI Origin 2000 system.Our results indicate that the flow control scheme alone succeeds in greatly reducing the number and length of rollbacks as well as the number of anti-messages, thereby increasing the number of non-rolled back messages processed per second. It results in a large reduction in the amount of memory used and outperforms the dynamic load balancing algorithm for these measures. The integrated scheme produces even better results for all of these measures and results in reduced execution times as well.