OK, I will make an attempt to improve the script.

Chris

_____
dr. ir. Christiaan Klaij | senior researcher
Research & Development | CFD Development
T +31 317 49 33 44 | 
https://urldefense.us/v3/__http://www.marin.nl__;!!G_uCfscf7eWS!bfFbKk4arhJn14kIeBM3XYHKUDU2vB97pvyoyF5PHqEdfLLJcwFLrNOUpbS6_ebSWuvhLCB_ORYsmCz91AdYjfc$
 
___________________________________
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!bfFbKk4arhJn14kIeBM3XYHKUDU2vB97pvyoyF5PHqEdfLLJcwFLrNOUpbS6_ebSWuvhLCB_ORYsmCz91AdYjfc$
 
<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!bfFbKk4arhJn14kIeBM3XYHKUDU2vB97pvyoyF5PHqEdfLLJcwFLrNOUpbS6_ebSWuvhLCB_ORYsmCz9JVeNlcg$
 
<https://urldefense.us/v3/__http://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!bfFbKk4arhJn14kIeBM3XYHKUDU2vB97pvyoyF5PHqEdfLLJcwFLrNOUpbS6_ebSWuvhLCB_ORYsmCz9CcDNGyw$
 >

Reply via email to