[petsc-users] Scalability
Barry Smith
bsmith at petsc.dev
Thu Feb 12 10:09:47 CST 2026
The problem size is also very small. Typically one cannot get speedup when the number of variables per MPI rank is below on the order of 10,000. In your 64 process case you only have 390 variables. I would be stunned with any kind of speedup for such sizes. Run a problem at least 10 times bigger, better yet 20 times.
> On Feb 12, 2026, at 9:00 AM, Matthew Knepley <knepley at gmail.com> wrote:
>
> On Thu, Feb 12, 2026 at 6:48 AM SCOTTO Alexandre via petsc-users <petsc-users at mcs.anl.gov <mailto:petsc-users at mcs.anl.gov>> wrote:
>> Dear PETSc community,
>>
>>
>>
>> I have conducted a quick strong scalability-like test on direct and adjoint matrix-vector product with a 25,000 x 25,000 sparse matrix, distributed over 2, 4, …, 32 and 64 processes and the results I obtained were not so great.
>>
>> I am not very confident in my setup, so a as a matter of reference, is there any available results on weak and strong scalability of PETSc.Mat mult() and multTranspose() operations?
>>
>
> 1. This behavior depends on available bandwidth, not on cores. Do you know the bandwidth for your configurations?
>
> 2. Strong scaling depends heavily on matrix sparsity. If inevitably declines, but slower with more work to do.
>
> 3. We published a paper on performance recently: https://urldefense.us/v3/__https://www.sciencedirect.com/science/article/abs/pii/S016781912100079X__;!!G_uCfscf7eWS!YF3tHamDD69QbY3u6HDwK1Ud9HoLgM-UWJ__gqZwYCS7b4H7RrYYNe6xkgbg7udGqPEhw2n6a8hEURca5-7lmBU$ <https://urldefense.us/v3/__https://www.sciencedirect.com/science/article/abs/pii/S016781912100079X__;!!G_uCfscf7eWS!Zr5jUpk1srGDF2h9mXmw_GIn1OFZ2g3APzC0JHZREcxRzzy-2Oz2yyBWtzSI6F21kV4W_ubmc7A0NIIoVXnb$>
>
> Thanks,
>
> Matt
>>
>> Best regards,
>>
>> Alexandre.
>>
>
>
>
> --
> What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.
> -- Norbert Wiener
>
> https://urldefense.us/v3/__https://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!YF3tHamDD69QbY3u6HDwK1Ud9HoLgM-UWJ__gqZwYCS7b4H7RrYYNe6xkgbg7udGqPEhw2n6a8hEURca4quC9R0$ <https://urldefense.us/v3/__http://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!Zr5jUpk1srGDF2h9mXmw_GIn1OFZ2g3APzC0JHZREcxRzzy-2Oz2yyBWtzSI6F21kV4W_ubmc7A0NEclfLI_$>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20260212/a8d83ea4/attachment-0001.html>
More information about the petsc-users
mailing list