[petsc-users] Poor speed up for KSP example 45

Amin Sadeghi aminthefresh at gmail.com
Wed Mar 25 11:58:20 CDT 2020


Hi,

I ran KSP example 45 on a single node with 32 cores and 125GB memory using
1, 16 and 32 MPI processes. Here's a comparison of the time spent during
KSP.solve:

- 1 MPI process: ~98 sec, speedup: 1X
- 16 MPI processes: ~12 sec, speedup: ~8X
- 32 MPI processes: ~11 sec, speedup: ~9X

Since the problem size is large enough (8M unknowns), I expected a speedup
much closer to 32X, rather than 9X. Is this expected? If yes, how can it be
improved?

I've attached three log files for more details.

Sincerely,
Amin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200325/870e7239/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ncpus_01.log
Type: text/x-log
Size: 22744 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200325/870e7239/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ncpus_32.log
Type: text/x-log
Size: 26476 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200325/870e7239/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ncpus_16.log
Type: text/x-log
Size: 26520 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200325/870e7239/attachment-0005.bin>


More information about the petsc-users mailing list