An Efficient Algorithm for Perfect Load Balancing on Hypercube Multiprocessors

  • Authors:
  • Gene Eu Jan;Yuan-Shin Hwang

  • Affiliations:
  • Department of Computer Science, National Taiwan Ocean University, Keelung 20224, Taiwan b0199@mail.ntou.edu.tw;Department of Computer Science, National Taiwan Ocean University, Keelung 20224, Taiwan shin@cs.ntou.edu.tw

  • Venue:
  • The Journal of Supercomputing
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper proposes a simple yet efficient algorithm to distribute loads evenly on multiprocessor computers with hypercube interconnection networks. This algorithm was developed based upon the well-known dimension exchange method. However, the error accumulation suffered by other algorithms based on the dimension exchange method is avoided by exploiting the notion of regular distributions, which are commonly deployed for data distributions in parallel programming. This algorithm achieves a perfect load balance over P processors with an error of 1 and the worst-case time complexity of O(M log2P), where M is the maximum number of tasks initially assigned to each processor. Furthermore, perfect load balance is achieved over subcubes as well—once a hypercube is balanced, if the cube is decomposed into two subcubes by the lowest bit of node addresses, then the difference between the numbers of the total tasks of these subcubes is at most 1.