Self-stabilizing Iterative Solvers
Piyush Sao, Richard Vuduc
School of Computational Science & Engineering Georgia Institute of Technology
SIAM PP-14
- P. Sao, R. Vuduc (Georgia Tech)
Self-stabilizing Iterative Solvers SIAM PP-14 1 / 21
Self-stabilizing Iterative Solvers Piyush Sao, Richard Vuduc School - - PowerPoint PPT Presentation
Self-stabilizing Iterative Solvers Piyush Sao, Richard Vuduc School of Computational Science & Engineering Georgia Institute of Technology SIAM PP-14 P. Sao, R. Vuduc (Georgia Tech) Self-stabilizing Iterative Solvers SIAM PP-14 1 / 21
School of Computational Science & Engineering Georgia Institute of Technology
Self-stabilizing Iterative Solvers SIAM PP-14 1 / 21
Introduction
Self-stabilizing Iterative Solvers SIAM PP-14 2 / 21
Introduction
Self-stabilizing Iterative Solvers SIAM PP-14 3 / 21
Introduction
Check for convergence xk+1 yk+1 zk+1 , , ...
< >
Update Return Start Intermediate Vars x0 y0 z0 , , ...
< >
xk yk zk , , ...
xk+1 yk+1 zk+1 , , ...
xs ys zs , , ...
. . .
x0 y0 z0 , , ...
x1 y1 z1 , , ...
y1 z1 , , ...
x2 y2 z2 , , ...
y z , , ...
. . .
Self-stabilizing Iterative Solvers SIAM PP-14 4 / 21
Introduction
<X1, Y1, Z1, ...> <Xk, Yk, Zk, ...> <Xs, Ys, Zs, ...> . . . . . . <Xf, Yf, Zf, ...>
faulty Execution
<Xi, Yi, Zi, ...> <Xs', Ys', Zs', ...>
Invalid States
Solution States Valid States Invalid States
Start
. . . . . . Self-stabilizing Algorithms
Self-stabilizing Iterative Solvers SIAM PP-14 5 / 21
Introduction
Self-stabilizing Iterative Solvers SIAM PP-14 6 / 21
Introduction
Self-stabilizing Iterative Solvers SIAM PP-14 7 / 21
Introduction Self-stabilizing Conjugate Gradient
Self-stabilizing Iterative Solvers SIAM PP-14 8 / 21
Introduction Self-stabilizing Conjugate Gradient
rT r pT q
rk+12 rk2
Self-stabilizing Iterative Solvers SIAM PP-14 9 / 21
Introduction Self-stabilizing Conjugate Gradient
i Apj
i rj
i pj
Self-stabilizing Iterative Solvers SIAM PP-14 10 / 21
Introduction Self-stabilizing Conjugate Gradient
1
2
Self-stabilizing Iterative Solvers SIAM PP-14 11 / 21
Introduction Self-stabilizing Conjugate Gradient
rT
k pk
pT
k Apk
k rk)
pkrk > c1
Self-stabilizing Iterative Solvers SIAM PP-14 12 / 21
Experiments
1
2
Self-stabilizing Iterative Solvers SIAM PP-14 13 / 21
Experiments
Self-stabilizing Iterative Solvers SIAM PP-14 14 / 21
Experiments
1
2
3
4
Self-stabilizing Iterative Solvers SIAM PP-14 15 / 21
Experiments
50
100
150
200
250
300 10
− 14
10
− 12 10
− 10
10
− 8 10
− 6
10
− 4 10
− 2
10 Convergence History Number of Iterations Error Free CG CG− SS CG− RES FT− GMRES
50
100
150
200
250
300 10
− 15
10
− 10
10
− 5
10 Convergence History Number of Iterations Error Free CG CG− SS CG− RES FT− GMRES
Self-stabilizing Iterative Solvers SIAM PP-14 16 / 21
Experiments
50
100
150
200
250
300 10
− 4
10
− 3
10
− 2
10
− 1
10 Convergence History Number of Iterations Error Free CG CG− SS CG− RES FT− GMRES
50
100
150 200 250 300 350 400 450 500
10
− 4
10
− 3
10
− 2
10
− 1
10 Convergence History Number of Iterations CG− RES Error Free CG CG− SS FT− GMRES
Self-stabilizing Iterative Solvers SIAM PP-14 17 / 21
Experiments
50
100
150
200
250
300 10
− 15
10
− 10
10
− 5
10 Convergence History Number of Iterations Error Free CG CG− SS CG− RES FT− GMRES
50
100
150
200
250
300 10
− 14
10
− 12 10
− 10
10
− 8 10
− 6
10
− 4 10
− 2
10 Convergence History Number of Iterations Error Free CG CG− SS CG− RES FT− GMRES
Self-stabilizing Iterative Solvers SIAM PP-14 18 / 21
Experiments
10
− 15
10
− 10
10
− 5
10
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1 Error Tolerance versus # Reliable SpMV E rror tolerance Fraction of Reliable SpMV Error Free CG CG− SS CG− RES FT− GMRES
10
− 15
10
− 10
10
− 5
10
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9 1
Error Tolerance versus # Reliable SpMV E rror tolerance Fraction of Reliable SpMV
Error Free CG CG− SS CG− RES FT− GMRES
Self-stabilizing Iterative Solvers SIAM PP-14 19 / 21
Analysis
Observed Convergence in Presence of faults Ideal Convergence in nite precision
Self-stabilizing Iterative Solvers SIAM PP-14 20 / 21
Conclusion
1
2
Self-stabilizing Iterative Solvers SIAM PP-14 21 / 21