uschindler commented on PR #16807: URL: https://github.com/apache/lucene/pull/16807#issuecomment-6127897859
A new data point with AVX 512, interestingly this is totally stupid. Repeated the comparison several times. With this PR it is SLOWER! Without PR: ``` Benchmark (size) Mode Cnt Score Error Units VectorUtilBenchmark.mixingUintVsIntScalar 1024 thrpt 15 0.699 ± 0.002 ops/us VectorUtilBenchmark.mixingUintVsIntVector 1024 thrpt 75 5.603 ± 0.802 ops/us ``` With PR: ``` Benchmark (size) Mode Cnt Score Error Units VectorUtilBenchmark.mixingUintVsIntScalar 1024 thrpt 15 0.700 ± 0.003 ops/us VectorUtilBenchmark.mixingUintVsIntVector 1024 thrpt 75 2.067 ± 0.022 ops/us ``` No idea how to explain that. Interestingly the benchmark is very unstable, so it looks like thermal throttling is involved on this AMD cpu....: AMD Ryzen 7 7700 8-Core Processor INFO: Java vector incubator API enabled; uses preferredBitSize=512; FMA enabled -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
