Hi Chris,
  It looks good to me, except the thin8MPIscaling case, where I think the
baseline should be one process instead of 8.  But that is user's problem
(scaling log should always start with 1).
  Could you make an MR?

  Thanks,
--Junchao Zhang


On Mon, Aug 3, 2026 at 8:59 AM Klaij, Christiaan via petsc-users <
[email protected]> wrote:

> Hi Matt and Jed,
>
> Here's a new version, to be compared with 3.25.3, together with
> three examples. The original use case with the entire range
> 1..128, and two other cases: a subset starting at 1 and a
> subset starting at 8.
>
> Hope you find it useful,
> Chris
>
> ________________________________________
> ​​​​
> dr. ir.  Christiaan  Klaij  |  senior researcher
> Research & Development  |  CFD Development
> T +31 317 49 33 44 <+31%20317%2049%2033%2044>  |  
> https://urldefense.us/v3/__http://www.marin.nl__;!!G_uCfscf7eWS!Yk5VkqcMaekK-YgNpyd_kXWc6lZb_asNsp084FVRWabyO1btwvtFXqVYpuTjcZ96djNO3WTwnYEhPNnw3PXkU2Kl9ID9$
>  
> <https://urldefense.us/v3/__https://www.marin.nl/__;!!G_uCfscf7eWS!YnDGIWz6ei0fv7EPHop88Qc-dds8VfzFmscXeZaJja59lVcSEmqvOpasekvVK3zpnNBKtYJwGb4TA6QR2_9jnlM$>
> [image: Facebook]
> <https://urldefense.us/v3/__https://www.facebook.com/marin.wageningen__;!!G_uCfscf7eWS!YnDGIWz6ei0fv7EPHop88Qc-dds8VfzFmscXeZaJja59lVcSEmqvOpasekvVK3zpnNBKtYJwGb4TA6QRC3ZvR_Y$>
> [image: LinkedIn]
> <https://urldefense.us/v3/__https://www.linkedin.com/company/marin__;!!G_uCfscf7eWS!YnDGIWz6ei0fv7EPHop88Qc-dds8VfzFmscXeZaJja59lVcSEmqvOpasekvVK3zpnNBKtYJwGb4TA6QRKuFFdHQ$>
> [image: YouTube]
> <https://urldefense.us/v3/__https://www.youtube.com/marinmultimedia__;!!G_uCfscf7eWS!YnDGIWz6ei0fv7EPHop88Qc-dds8VfzFmscXeZaJja59lVcSEmqvOpasekvVK3zpnNBKtYJwGb4TA6QRizcaqBA$>
>
> From: Klaij, Christiaan <[email protected]>
> Sent: Monday, August 3, 2026 11:21 AM
> To: Matthew Knepley
> Cc: petsc-users
> Subject: Re: [petsc-users]plotting petsc streams
>
> OK, I will make an attempt to improve the script.
>
> Chris
>
> ________________________________________
> From: Matthew Knepley <[email protected]>
> Sent: Friday, July 31, 2026 2:15 PM
> To: Klaij, Christiaan
> Cc: petsc-users
> Subject: Re: [petsc-users]plotting petsc streams
>
> Yes, that script only reads in column 2. It works because 'make streams'
> always uses the range 1-N for procs. An upgrade would be welcome.
>
> Thanks,
>
> Matt
>
> On Fri, Jul 31, 2026 at 8:01 AM Klaij, Christiaan via petsc-users <
> [email protected]<mailto:[email protected]>>
> wrote:
> With petsc 3.25.3 I made the following scaling.log using
> benchmarks/streams on an AMD node:
>
> $ cat scaling.log
> 1 28371.4 Rate (MB/s) 1.0
> 8 240264.1 Rate (MB/s) 8.5
> 16 327898.5 Rate (MB/s) 11.6
> 24 323839.0 Rate (MB/s) 11.4
> 32 326434.0 Rate (MB/s) 11.5
> 40 321278.1 Rate (MB/s) 11.3
> 48 323708.0 Rate (MB/s) 11.4
> 56 318307.4 Rate (MB/s) 11.2
> 64 319949.7 Rate (MB/s) 11.3
> 96 306451.5 Rate (MB/s) 10.8
> 128 313116.4 Rate (MB/s) 11.0
>
> Next, benchmarks/streams/process.py gives me the attached
> plot. But this plot doesn't make sense to me, for instance it reads
> as if I get a 8x speedup going from 1 to 2 procs. It seems the
> script is ignoring the first column. Clearly, I'm not using it as
> intended?
> [cid:ii_19fb8189e5dfa6e50331]
> ​​​​
> dr. ir. Christiaan Klaij | senior researcher
> Research & Development | CFD Development
> T +31 317 49 33 44<tel:+31%20317%2049%2033%2044> | 
> https://urldefense.us/v3/__http://www.marin.nl__;!!G_uCfscf7eWS!Yk5VkqcMaekK-YgNpyd_kXWc6lZb_asNsp084FVRWabyO1btwvtFXqVYpuTjcZ96djNO3WTwnYEhPNnw3PXkU2Kl9ID9$
>  
> <https://urldefense.us/v3/__http://www.marin.nl__;!!G_uCfscf7eWS!YnDGIWz6ei0fv7EPHop88Qc-dds8VfzFmscXeZaJja59lVcSEmqvOpasekvVK3zpnNBKtYJwGb4TA6QR29GEiok$>
> <
> https://urldefense.us/v3/__https://www.marin.nl/__;!!G_uCfscf7eWS!YvlClmSlFiZRiSXQtA1pFi67PzaxLcHJSH0tkk7FvEBToPafQqGfL2j7n3xdQasChKKUs7tJG-F7h0HU_BxaB1k$
> >
> [Facebook]<
> https://urldefense.us/v3/__https://www.facebook.com/marin.wageningen__;!!G_uCfscf7eWS!YvlClmSlFiZRiSXQtA1pFi67PzaxLcHJSH0tkk7FvEBToPafQqGfL2j7n3xdQasChKKUs7tJG-F7h0HUebhr5Rw$
> >
> [LinkedIn]<
> https://urldefense.us/v3/__https://www.linkedin.com/company/marin__;!!G_uCfscf7eWS!YvlClmSlFiZRiSXQtA1pFi67PzaxLcHJSH0tkk7FvEBToPafQqGfL2j7n3xdQasChKKUs7tJG-F7h0HU89HJ8r4$
> >
> [YouTube]<
> https://urldefense.us/v3/__https://www.youtube.com/marinmultimedia__;!!G_uCfscf7eWS!YvlClmSlFiZRiSXQtA1pFi67PzaxLcHJSH0tkk7FvEBToPafQqGfL2j7n3xdQasChKKUs7tJG-F7h0HUVQtojtk$
> >
>
>
> --
> 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!Yk5VkqcMaekK-YgNpyd_kXWc6lZb_asNsp084FVRWabyO1btwvtFXqVYpuTjcZ96djNO3WTwnYEhPNnw3PXkU19Nf7lb$
>  
> <https://urldefense.us/v3/__https://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!YnDGIWz6ei0fv7EPHop88Qc-dds8VfzFmscXeZaJja59lVcSEmqvOpasekvVK3zpnNBKtYJwGb4TA6QR6wcI_ZQ$>
> <https://urldefense.us/v3/__http://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!Yk5VkqcMaekK-YgNpyd_kXWc6lZb_asNsp084FVRWabyO1btwvtFXqVYpuTjcZ96djNO3WTwnYEhPNnw3PXkU62-p4Fz$
>  
> <https://urldefense.us/v3/__http://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!YnDGIWz6ei0fv7EPHop88Qc-dds8VfzFmscXeZaJja59lVcSEmqvOpasekvVK3zpnNBKtYJwGb4TA6QRWDFIFXw$>
> >
>

Reply via email to