mpirun --oversubscribe -np 8 ./main 400
где 400 -- размер матрицы
8 процессов, 2 ядра 4 потока
Размер матрицы | Время выполнения |
---|---|
200 | 0.070983 |
600 | 0.36686 |
400 | 1.3299 |
800 | 3.2401 |
1000 | 8.0954 |
размер матрицы: 800, 2 ядра 4 потока
Количество процессов | Время выполнения |
---|---|
1 | 5.3682 |
2 | 3.6983 |
4 | 3.3625 |
8 | 3.3460 |
16 | 3.8652 |