Some parameters of the algorithm

When designing a parallel algorithm there are several important concepts which have to be taken into consideration. First of all the simultaneous work has to be balanced. One wants to load both of the active processors with the same amount work, such that both processors do have to wait as little as possible for the communication. Secondly we want submit as little information as possible. In this section we provide some information on how to tune the load balance of both processors.

The $ \vartimes $-pattern we showed divides the matrix $ A$ into two equally distributed parts, each containing the same ($ \pm 1$) amount of rows. Due to the quasiseparable structure however, the bottom $ n_2$ rows are much more structured than the upper $ n_1$ rows. The top matrix contains $ n_1n-n_1^2/2+5n_1/2-1$ elements to be stored6, whereas the bottom matrix contains only $ n_2^2/2+5n_2/2 $ elements. Considering now the performance of the Givens transformations on both matrices we see that applying the $ 2$ sequences of Givens transformations on the top costs approximately $ 12n_1n+6n_1^2$ operations, whereas this costs only $ 6n_2^2$ operations for the bottom part. This means that when both processors obtain the same number of rows $ n_1\approx n_2$, processor one has to do much more work than processor two.

Looking back, however, at the intermediate steps to reduce the $ \wedge $-pattern into the $ \vartimes $-pattern we see that it is possible to obtain vertically nonsymmetric $ \vartimes $-patterns (see for example some of the patterns in Section 4.3). This means that we can choose any matrix division, as long as $ n_1+n_2=n$. This leads to a flexible way for dividing the matrix, such that processing the top matrix part takes as long as processing the bottom part. A natural choice of division might be such that $ 12n_1n+6n_1^2 \approx 6n_2^2 $. This is good choice in case both processors are of the same type. If both processors do not have the same architecture, this division does not necessarily lead to an equally distributed time for processing the matrices and hence needs to be taken case dependent.

As the amount of data submitted through the network is only dependent on the position of $ n_1$ and $ n_2$, we cannot change this. The amount of data submitted is of the order $ 2n_2$. In the next subsection we will present a high level algorithm for computing $ QR$-factorization in parallel.

Raphael Vandebril 2007-07-17