rmuir commented on PR #12311: URL: https://github.com/apache/lucene/pull/12311#issuecomment-1561364771
another set of results from @markrmiller 's AVX-512 beast, that he nicely gave me access to: Model name: 11th Gen Intel(R) Core(TM) i9-11900F @ 2.50GHz java -jar target/vectorbench.jar -p size=1024 ``` Benchmark (size) Mode Cnt Score Error Units BinaryCosineBenchmark.cosineDistanceNew 1024 thrpt 5 10.637 ± 0.068 ops/us BinaryCosineBenchmark.cosineDistanceOld 1024 thrpt 5 1.115 ± 0.008 ops/us BinaryDotProductBenchmark.dotProductNew 1024 thrpt 5 22.050 ± 0.007 ops/us BinaryDotProductBenchmark.dotProductOld 1024 thrpt 5 3.349 ± 0.041 ops/us BinarySquareBenchmark.squareDistanceNew 1024 thrpt 5 16.215 ± 0.129 ops/us BinarySquareBenchmark.squareDistanceOld 1024 thrpt 5 2.479 ± 0.032 ops/us FloatCosineBenchmark.cosineNew 1024 thrpt 5 9.394 ± 0.048 ops/us FloatCosineBenchmark.cosineOld 1024 thrpt 5 0.750 ± 0.002 ops/us FloatDotProductBenchmark.dotProductNew 1024 thrpt 5 25.657 ± 2.105 ops/us FloatDotProductBenchmark.dotProductOld 1024 thrpt 5 3.320 ± 0.079 ops/us FloatSquareBenchmark.squareNew 1024 thrpt 5 19.437 ± 0.122 ops/us FloatSquareBenchmark.squareOld 1024 thrpt 5 2.355 ± 0.003 ops/us ``` I also tried maxing out the hardware by using all the threads to make sure it all still performs ok: java -jar target/vectorbench.jar -p size=1024 -t max ``` Benchmark (size) Mode Cnt Score Error Units BinaryCosineBenchmark.cosineDistanceNew 1024 thrpt 5 73.420 ± 1.642 ops/us BinaryCosineBenchmark.cosineDistanceOld 1024 thrpt 5 9.705 ± 0.111 ops/us BinaryDotProductBenchmark.dotProductNew 1024 thrpt 5 143.957 ± 0.496 ops/us BinaryDotProductBenchmark.dotProductOld 1024 thrpt 5 22.669 ± 0.334 ops/us BinarySquareBenchmark.squareDistanceNew 1024 thrpt 5 108.838 ± 0.708 ops/us BinarySquareBenchmark.squareDistanceOld 1024 thrpt 5 18.895 ± 0.305 ops/us FloatCosineBenchmark.cosineNew 1024 thrpt 5 62.930 ± 0.707 ops/us FloatCosineBenchmark.cosineOld 1024 thrpt 5 13.022 ± 0.735 ops/us FloatDotProductBenchmark.dotProductNew 1024 thrpt 5 173.105 ± 4.123 ops/us FloatDotProductBenchmark.dotProductOld 1024 thrpt 5 24.464 ± 0.322 ops/us FloatSquareBenchmark.squareNew 1024 thrpt 5 127.718 ± 1.173 ops/us FloatSquareBenchmark.squareOld 1024 thrpt 5 17.301 ± 0.365 ops/us ``` -- 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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org