HBJ model

From testwiki
Jump to navigation Jump to search

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

  • p is number of processors.
  • n is the problem size.
  • m is number of machine words in a packet sent over the network.
  • τ is the latency, or time at which a processor takes to initiate a communication on a network.
  • σ is the bandwidth, or time per machine word at which a processor can inject or receive m machine words from the network.
  • Tcomp is the largest computation time expended on a processor.
  • Tcomm is the time spent in communication on the network.

This model assumes that for any subset of q processors, a block permutation among the q processors takes (τ+σm) time, where m 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: O(τ+σm)
  • Reduction :O(log(p)(τ+σm))
  • Broadcast: O(log(p)(τ+σm))
  • Parallel prefix: O(log(p)np(τ+σm))
  • All to all: O(p(τ+σm)))

References

Template:Reflist


Template:Computer-science-stub