HUSTERGS commented on PR #14896:
URL: https://github.com/apache/lucene/pull/14896#issuecomment-3034034888
>I know we've had to be careful with the vector API at times as playing some
tricks may get even slower than scalar code on some hardware.
Yeah, I aggree with that too, I've seen the
`ENABLE_FIND_NEXT_GEQ_VECTOR_OPTO` variable which is used make sure we have
enough lanes, I'm wondering whether we should do a similar thing here
> FWIW I like higher values of this parameter better.
Of course! I ran a luceneutil on `wikimediumall` with `searchConcurrency=0,
taskCountPerCat=5, taskRepeatCount=50`, here is the result after 20 iterations
(it takes some time to finish):
```
TaskQPS baseline StdDevQPS
my_modified_version StdDev Pct diff p-value
CombinedTerm 14.73 (4.3%) 14.48
(5.6%) -1.7% ( -11% - 8%) 0.277
Wildcard 60.18 (3.3%) 59.48
(3.0%) -1.2% ( -7% - 5%) 0.242
IntSet 411.04 (4.4%) 408.11
(4.2%) -0.7% ( -8% - 8%) 0.601
FilteredPrefix3 95.00 (2.7%) 94.50
(2.8%) -0.5% ( -5% - 5%) 0.542
Respell 44.49 (2.7%) 44.27
(3.1%) -0.5% ( -6% - 5%) 0.586
FilteredIntNRQ 48.90 (1.6%) 48.67
(1.7%) -0.5% ( -3% - 2%) 0.379
IntNRQ 49.17 (1.7%) 48.95
(1.9%) -0.4% ( -3% - 3%) 0.432
Prefix3 101.69 (3.0%) 101.28
(3.0%) -0.4% ( -6% - 5%) 0.666
CountFilteredIntNRQ 22.52 (2.0%) 22.45
(2.0%) -0.3% ( -4% - 3%) 0.648
DismaxTerm 659.35 (4.8%) 658.31
(5.4%) -0.2% ( -9% - 10%) 0.922
IntervalsOrdered 3.03 (2.3%) 3.03
(2.3%) -0.1% ( -4% - 4%) 0.919
FilteredTerm 88.58 (4.9%) 88.58
(4.9%) -0.0% ( -9% - 10%) 0.999
CountPhrase 3.32 (2.2%) 3.32
(3.5%) 0.0% ( -5% - 5%) 0.993
TermDTSort 194.75 (2.5%) 194.77
(2.4%) 0.0% ( -4% - 5%) 0.987
CountFilteredPhrase 11.57 (2.0%) 11.58
(2.4%) 0.0% ( -4% - 4%) 0.952
TermTitleSort 72.55 (4.0%) 72.59
(4.3%) 0.1% ( -7% - 8%) 0.969
Fuzzy2 46.06 (2.3%) 46.10
(2.2%) 0.1% ( -4% - 4%) 0.904
SpanNear 3.10 (4.6%) 3.10
(5.0%) 0.1% ( -9% - 10%) 0.945
TermDayOfYearSort 358.78 (1.1%) 359.21
(1.0%) 0.1% ( -1% - 2%) 0.719
TermB1M 593.44 (6.4%) 594.37
(7.0%) 0.2% ( -12% - 14%) 0.941
CountFilteredOrHighMed 29.96 (2.0%) 30.00
(1.6%) 0.2% ( -3% - 3%) 0.771
CountFilteredOrHighHigh 25.46 (1.9%) 25.51
(1.5%) 0.2% ( -3% - 3%) 0.731
Term1M 594.33 (6.3%) 595.69
(6.9%) 0.2% ( -12% - 14%) 0.913
OrHighRare 121.93 (3.7%) 122.22
(4.5%) 0.2% ( -7% - 8%) 0.857
Term100 593.84 (6.4%) 595.52
(6.7%) 0.3% ( -12% - 14%) 0.892
Term10K 594.26 (6.5%) 595.97
(6.9%) 0.3% ( -12% - 14%) 0.892
Term 594.63 (6.4%) 596.36
(6.9%) 0.3% ( -12% - 14%) 0.890
TermB1M1P 592.84 (6.4%) 595.12
(6.9%) 0.4% ( -12% - 14%) 0.855
FilteredPhrase 12.68 (2.0%) 12.74
(2.5%) 0.4% ( -3% - 5%) 0.531
FilteredAnd3Terms 132.94 (3.8%) 133.61
(2.9%) 0.5% ( -5% - 7%) 0.636
CombinedOrHighMed 28.73 (4.6%) 28.89
(5.9%) 0.6% ( -9% - 11%) 0.734
FilteredOrHighMed 54.21 (5.0%) 54.52
(4.7%) 0.6% ( -8% - 10%) 0.711
CountAndHighHigh 62.06 (1.2%) 62.42
(1.2%) 0.6% ( -1% - 3%) 0.142
FilteredOrHighHigh 18.16 (3.3%) 18.27
(3.1%) 0.6% ( -5% - 7%) 0.566
CountTerm 8145.28 (5.9%) 8192.70
(4.8%) 0.6% ( -9% - 11%) 0.731
FilteredOr3Terms 59.77 (4.6%) 60.13
(4.3%) 0.6% ( -7% - 9%) 0.662
Fuzzy1 51.29 (3.3%) 51.61
(3.6%) 0.6% ( -6% - 7%) 0.567
CountFilteredOrMany 6.09 (1.6%) 6.13
(1.4%) 0.7% ( -2% - 3%) 0.153
AndHighOrMedMed 18.53 (2.9%) 18.67
(2.6%) 0.7% ( -4% - 6%) 0.392
FilteredOr2Terms2StopWords 67.51 (6.9%) 68.02
(6.5%) 0.8% ( -11% - 15%) 0.720
Phrase 9.79 (2.0%) 9.87
(2.5%) 0.8% ( -3% - 5%) 0.278
FilteredOrMany 5.11 (2.7%) 5.15
(2.2%) 0.8% ( -3% - 5%) 0.308
CountOrHighHigh 63.91 (1.8%) 64.45
(2.2%) 0.8% ( -3% - 4%) 0.193
FilteredOrStopWords 11.12 (2.5%) 11.21
(2.6%) 0.8% ( -4% - 6%) 0.298
CountOrHighMed 96.39 (3.3%) 97.23
(2.3%) 0.9% ( -4% - 6%) 0.335
FilteredAndHighHigh 15.28 (3.3%) 15.42
(3.5%) 0.9% ( -5% - 7%) 0.408
FilteredAndStopWords 12.04 (3.3%) 12.15
(3.8%) 0.9% ( -5% - 8%) 0.418
TermMonthSort 2994.17 (3.2%) 3026.80
(3.1%) 1.1% ( -5% - 7%) 0.277
CombinedAndHighMed 29.21 (4.6%) 29.55
(5.4%) 1.2% ( -8% - 11%) 0.459
CountOrMany 6.42 (1.5%) 6.50
(1.9%) 1.2% ( -2% - 4%) 0.029
CountAndHighMed 93.40 (3.9%) 94.53
(2.1%) 1.2% ( -4% - 7%) 0.227
DismaxOrHighMed 66.64 (5.1%) 67.51
(6.0%) 1.3% ( -9% - 13%) 0.457
SloppyPhrase 1.44 (4.8%) 1.46
(3.5%) 1.4% ( -6% - 10%) 0.287
DismaxOrHighHigh 46.64 (5.1%) 47.42
(6.4%) 1.7% ( -9% - 13%) 0.354
CombinedOrHighHigh 7.18 (3.4%) 7.31
(4.8%) 1.8% ( -6% - 10%) 0.162
CombinedAndHighHigh 7.29 (1.5%) 7.51
(2.2%) 3.0% ( 0% - 6%) 0.000
AndMedOrHighHigh 20.84 (5.3%) 21.59
(4.0%) 3.6% ( -5% - 13%) 0.015
FilteredAndHighMed 44.67 (4.9%) 46.31
(4.4%) 3.7% ( -5% - 13%) 0.013
OrHighMed 90.74 (8.5%) 94.19
(10.5%) 3.8% ( -14% - 24%) 0.208
FilteredAnd2Terms2StopWords 76.59 (8.0%) 80.57
(7.9%) 5.2% ( -9% - 22%) 0.039
Or2Terms2StopWords 77.93 (8.6%) 82.68
(10.3%) 6.1% ( -11% - 27%) 0.042
OrStopWords 10.37 (7.9%) 11.02
(10.1%) 6.3% ( -10% - 26%) 0.029
And2Terms2StopWords 75.13 (11.2%) 80.21
(11.0%) 6.8% ( -13% - 32%) 0.053
OrHighHigh 25.96 (9.1%) 27.94
(12.1%) 7.6% ( -12% - 31%) 0.025
AndHighHigh 26.53 (13.5%) 28.56
(12.5%) 7.6% ( -16% - 38%) 0.062
AndHighMed 67.66 (12.1%) 73.09
(10.9%) 8.0% ( -13% - 35%) 0.027
OrMany 5.81 (5.0%) 6.34
(5.4%) 9.0% ( -1% - 20%) 0.000
Or3Terms 81.64 (6.7%) 89.03
(9.0%) 9.0% ( -6% - 26%) 0.000
And3Terms 88.70 (9.5%) 97.50
(8.6%) 9.9% ( -7% - 30%) 0.001
AndStopWords 9.61 (9.3%) 10.68
(9.3%) 11.1% ( -6% - 32%) 0.000
```
And it shows an similar speedup !
--
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]