Amdahl's Law

A simple algorithm to perform such computation consists of the following three steps:

  1. The root node sends the vector $X(m)$ to all processors in the order of $O(m*log n)$
  2. All processors perform the product $C_i=\sum_{j=1}^m a_{ij}*x_j$ in

    \begin{displaymath}
O(m*(m/n+1))=O(m)+O(\frac{m^2}{n})
\end{displaymath}

  3. All processors send their $C_i$ values to the root node in $O(m*log n)$.

Cem Ozdogan 2010-10-11