ddemidov/amgcl

Why the example(poisson3Db)'s comsume time on my computer is so slower than you give?

kju512 opened this issue · 2 comments

Hello! I write a finite element system for my work, and I want to use amgcl to accelerate my system solving speed.
but when I run the poisson3Db example or my system by amgcl on my computer, the solving speed is so slow. I don't know the reason.
Can you give me some suggestions to solve this problem?
my computer processor is Intel(R) Core(TM) i5-7200U CPU @2.50GHz.
the running result of poisson3Db on my computer is like as follows:

Matrix c:\poisson3Db.mtx: 85623x85623
RHS c:\poisson3Db_b.mtx: 85623x1
Solver

Type: BiCGStab
Unknowns: 85623
Memory footprint: 4.57 M

Preconditioner

Number of levels: 3
Operator complexity: 1.20
Grid complexity: 1.08
Memory footprint: 58.93 M

level unknowns nonzeros memory

0        85623        2374949     50.07 M (83.20%)
1         6361         446833      7.78 M (15.65%)
2          384          32566      1.08 M ( 1.14%)

Iters: 24
Error: 8.33789e-09

[poisson3Db: 132.982 s] (100.00%)
[ read: 90.995 s] ( 68.43%)
[ setup: 8.703 s] ( 6.54%)
[ solve: 33.273 s] ( 25.02%)

I would check if the example is compiled with full optimization turned on (release mode in visual studio), and that no other processes compete for the CPU resources at the time of the test.