In this section, results concerning the speed, memory division between the processors and the total number of data to be transmitted are shown.
We know that the overal complexity of the solver is of the order
. In the following figure we compare the cost of computing the
-factorization w.r.t. the time needed to solve the system via
backward substitution.
In the following figure we present timings, related to the cputime
needed by one processor, in case of the standard
-factorization
and by two processors in case the algorithm is run in parallel.
The presented global timings do not include timings related to the
message passing.
Because MATLAB MPI uses
file I/O for communication. This creates false timings for message
passing depending on the mounting type of the file system, the current
read/write speed, and so on.
The timings presented here present the actual cputime needed by each
of the processors for computing their part of the
-factorization. In the following figure three lines are shown,
representing the cputime needed by 1 processor in case the
-factorization is computed in the traditional way on one
processor. The two other lines indicates the cputime of the
processors in case the method is run in parallel. One can clearly see
that the non-parallel version needs much more computing time. Also
important to remark is that we can solve much larger systems of
equations, when considering a work load division over two processors.
In this left figure (Figure 3) we chose a fixed work load division namely
rounded to the closest, larger integer and
, we can clearly see
in the following graph that the workload is not equally
distributed. In the right we chose
, and see a more
equally distributed workload.
The following table will present some results concerning global
problem size (
), memory division (Mem PI and Mem PII),
size of the problems (
and
), and the number of double
precision numbers to be
transmitted (transfer) over the network for computing the
-factorization. These numbers are related to the timings with the
left figure of Figure 3.
| Mem PI | Mem PII | Transfer | |||
| 500 | 173 | 327 | 71967 | 54282 | 656 |
| 1000 | 345 | 655 | 286349 | 216150 | 1312 |
| 1500 | 518 | 982 | 644132 | 484617 | 1966 |
| 2000 | 690 | 1310 | 1143674 | 861325 | 2622 |
| 2500 | 863 | 1637 | 1787272 | 1343977 | 3276 |
| 3000 | 1035 | 1965 | 2571974 | 1935525 | 3932 |
| 3500 | 1207 | 2293 | 3499092 | 2634657 | 4588 |
| 4000 | 1380 | 2620 | 4571249 | 3438750 | 5242 |
| 4500 | 1552 | 2948 | 5783527 | 4352722 | 5898 |
| 5000 | 1725 | 3275 | 7141499 | 5371000 | 6552 |
| 5500 | 1897 | 3603 | 8638937 | 6499812 | 7208 |
| 6000 | 2069 | 3931 | 10278791 | 7736208 | 7864 |
| 6500 | 2242 | 4258 | 12065322 | 9075927 | 8518 |
| 7000 | 2414 | 4586 | 13990336 | 10527163 | 9174 |
| 7500 | 2587 | 4913 | 16062682 | 12081067 | 9828 |
| 8000 | 2759 | 5241 | 18272856 | 13747143 | 10484 |
| 8500 | 2932 | 5568 | 20631017 | 15515232 | 11138 |
| 9000 | 3104 | 5896 | 23126351 | 17396148 | 11794 |
| 9500 | 3276 | 6224 | 25764101 | 19384648 | 12450 |
| 10000 | 3449 | 6551 | 28550821 | 21474178 | 13104 |
| 10500 | 3621 | 6879 | 31473731 | 23677518 | 13760 |
| 11000 | 3794 | 7206 | 34546266 | 25981233 | 14414 |
| 11500 | 3966 | 7534 | 37754336 | 28399413 | 15070 |
| 12000 | 4138 | 7862 | 41104822 | 30925177 | 15726 |
| 12500 | 4311 | 8189 | 44605916 | 33550333 | 16380 |
| 13000 | 4483 | 8517 | 48241562 | 36290937 | 17036 |
| 13500 | 4656 | 8844 | 52028471 | 39130278 | 17690 |
| 14000 | 4828 | 9172 | 55949277 | 42085722 | 18346 |
Raphael Vandebril 2007-07-17