HBJ model

From HandWiki

In computer science, the Helman-Bader-JaJa model [1] is a concise message-passing model of parallel computing defined with the following parameters:

  • [math]\displaystyle{ p }[/math] is number of processors.
  • [math]\displaystyle{ n }[/math] is the problem size.
  • [math]\displaystyle{ m }[/math] is number of machine words in a packet sent over the network.
  • [math]\displaystyle{ \tau }[/math] is the latency, or time at which a processor takes to initiate a communication on a network.
  • [math]\displaystyle{ \sigma }[/math] is the bandwidth, or time per machine word at which a processor can inject or receive [math]\displaystyle{ m }[/math] machine words from the network.
  • [math]\displaystyle{ T_{comp} }[/math] is the largest computation time expended on a processor.
  • [math]\displaystyle{ T_{comm} }[/math] is the time spent in communication on the network.

This model assumes that for any subset of [math]\displaystyle{ q }[/math] processors, a block permutation among the [math]\displaystyle{ q }[/math] processors takes [math]\displaystyle{ (\tau+\sigma m) }[/math] time, where [math]\displaystyle{ m }[/math] is the size of the largest block.

Analysis of common parallel algorithms

Complexities of common parallel algorithms contained in the MPI libraries:[2]

  • Point to point communication: [math]\displaystyle{ O(\tau+\sigma m) }[/math]
  • Reduction :[math]\displaystyle{ O(log(p) (\tau+\sigma m)) }[/math]
  • Broadcast: [math]\displaystyle{ O(log(p) (\tau+\sigma m)) }[/math]
  • Parallel prefix: [math]\displaystyle{ O(log(p){n\over p} (\tau+\sigma m)) }[/math]
  • All to all: [math]\displaystyle{ O(p(\tau+\sigma m)) ) }[/math]

References

  1. David R., Helman; David A., Bader; JaJa, Joseph (1998). "A Randomized Parallel Sorting Algorithm with an Experimental Study". Journal of Parallel and Distributed Computing 52: 1–23. doi:10.1006/jpdc.1998.1462. http://www.cc.gatech.edu/~bader/papers/JPDC-981462.pdf. Retrieved 26 October 2012. 
  2. Bader, David A.; Jaja, Joseph (1996). "Practical parallel algorithms for dynamic data redistribution, median finding, and selection". Proceedings of the 10th IEEE International Parallel Processing Symposium: 292–301.