Reducing synchronization overhead in parallel simulation

  • Authors:
  • Ulana Legedza;William E. Weihl

  • Affiliations:
  • Large-Scale Parallel Software Group, MIT Laboratory for Computer Science, Cambridge, MA;Large-Scale Parallel Software Group, MIT Laboratory for Computer Science, Cambridge, MA

  • Venue:
  • PADS '96 Proceedings of the tenth workshop on Parallel and distributed simulation
  • Year:
  • 1996

Quantified Score

Hi-index 0.00

Visualization

Abstract

Synchronization is often the dominant cost in conservative parallel simulation, particularly in simulations of parallel computers, in which low-latency simulated communication requires frequent synchronization. We present and evaluate LOCAL BARRIERS and PREDICTIVE BARRIER SCHEDULING, two techniques for reducing synchronization overhead in the simulation of message-passing multicomputers. Local barriers use nearest-neighbor synchronization to reduce waiting time at synchronization points. Predictive barrier scheduling, a novel technique that schedules synchronizations using both compile-time and runtime analysis, reduces the frequency of synchronization operations. In contrast to other work in this area, both techniques reduce synchronization overhead without decreasing the accuracy of network simulation. These techniques were evaluated by comparing their performance to that of periodic global synchronization. Experiments show that local barriers improve performance by up to 24% for communication-bound applications, while predictive barrier scheduling improves performance by up to 65% for applications with long local computation phases. Because the two techniques are complementary, we advocate a combined approach. This work was done in the context of PARALLEL PROTEUS, a new parallel simulator of message-passing multicomputers.