Also, running over the 1..N range is really tedious on nodes with many cores, 
and arguably isn't a good default for "make streams".

Matthew Knepley <[email protected]> writes:

> 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]> 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?
>> ​​​​
>> 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!e8WbmD8u64cW_XBEDuJlW_PK-l89Ok-keD-weJbdwFe0eru-guUN3H3rwYvvlYehbaNqr0dvYe1C6ossgWHZ$
>>  
>> <https://urldefense.us/v3/__https://www.marin.nl/__;!!G_uCfscf7eWS!YvlClmSlFiZRiSXQtA1pFi67PzaxLcHJSH0tkk7FvEBToPafQqGfL2j7n3xdQasChKKUs7tJG-F7h0HU_BxaB1k$>
>> [image: Facebook]
>> <https://urldefense.us/v3/__https://www.facebook.com/marin.wageningen__;!!G_uCfscf7eWS!YvlClmSlFiZRiSXQtA1pFi67PzaxLcHJSH0tkk7FvEBToPafQqGfL2j7n3xdQasChKKUs7tJG-F7h0HUebhr5Rw$>
>> [image: LinkedIn]
>> <https://urldefense.us/v3/__https://www.linkedin.com/company/marin__;!!G_uCfscf7eWS!YvlClmSlFiZRiSXQtA1pFi67PzaxLcHJSH0tkk7FvEBToPafQqGfL2j7n3xdQasChKKUs7tJG-F7h0HU89HJ8r4$>
>> [image: 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!e8WbmD8u64cW_XBEDuJlW_PK-l89Ok-keD-weJbdwFe0eru-guUN3H3rwYvvlYehbaNqr0dvYe1C6nfZHO7Z$
>   
> <https://urldefense.us/v3/__http://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!e8WbmD8u64cW_XBEDuJlW_PK-l89Ok-keD-weJbdwFe0eru-guUN3H3rwYvvlYehbaNqr0dvYe1C6l3OklMj$
>  >

Reply via email to