<div dir="ltr">Thanks,<div><br></div><div>I'll fix the code.</div><div>Just for my personal benchmarking, what is the easiest way to override the parameters to run long benchmarks?</div><div>I would like to test a few things that I was working on last year and see if the effects are still the same. This enables me to use the latest build and make everything more reproducible down the road...</div><div><br></div><div>Martin</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Mo., 17. Apr. 2023 um 18:26Â Uhr schrieb Paul Sandoz <<a href="mailto:paul.sandoz@oracle.com">paul.sandoz@oracle.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Martin,<br>
<br>
I would recommend placing default sizes such that the benchmark executes within a reasonable time e.g. a few minutes or less overall. Then the user can override with larger sizes.<br>
<br>
Further, I suggest you only use the preferred species for the vector benchmarks. That will ensure the optimal use, otherwise, for you will be running benchmarks for say AVX512 on AVX2 systems and the performance will nosedive and will take longer to run, which may be one cause for larger matrix sizes. And, since we are talking in general O(N^3) in complexity larger sizes are gonna have quite an impact.<br>
<br>
In your code you can avoid the explicit use of a Blackhole by returning the result from the method (JMH will consume it for you).<br>
<br>
Paul.<br>
<br>
<br>
> On Apr 15, 2023, at 1:19 AM, Martin Stypinski <<a href="mailto:mstypinski@gmail.com" target="_blank">mstypinski@gmail.com</a>> wrote:<br>
> <br>
> Hi,<br>
> <br>
> I try to contribute my matrix multiplication benchmarks into the Vector API micro benchmark suite. I try to replicate some issues that I encountered with bigger matrix sizes.<br>
> <br>
> Currently, my benchmarks run with array sizes up to 1024x1024 but I have no syntax error with array sizes of 32768x32768 but the benchmark just stops, halts, freezes? without results?<br>
> <br>
> Is there a maximum time limit which is given by the framework?<br>
> I tried to increase time on Warmup and Measurements to 120s, without effect. I have a feeling it stalls around the 1s mark.<br>
> <br>
> My current code can be found here:<br>
> <a href="https://gist.github.com/Styp/39be04debde25a716e824c61c3c349a2" rel="noreferrer" target="_blank">https://gist.github.com/Styp/39be04debde25a716e824c61c3c349a2</a><br>
<br>
</blockquote></div>