[ https://issues.apache.org/jira/browse/LUCENE-8757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16860166#comment-16860166 ]
Hoss Man commented on LUCENE-8757: ---------------------------------- git bisect has identified cfd9de894d18888f0f1b9e368994b972a81f449c as the cause of the reproducible test failures that have ocured in jenkins jobs on branch_8x... http://fucit.org/solr-jenkins-reports/job-data/thetaphi/Lucene-Solr-8.x-Linux/672/ https://jenkins.thetaphi.de/view/Lucene-Solr/job/Lucene-Solr-8.x-Linux/672/ {noformat} [junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestRegexpRandom2 -Dtests.method=testRegexps -Dtests.seed=E712F4979E38CFD8 -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=fr-HT -Dtests.timezone=America/New_York -Dtests.asserts=true -Dtests.file.encoding=US-ASCII [junit4] FAILURE 0.07s J1 | TestRegexpRandom2.testRegexps <<< [junit4] > Throwable #1: junit.framework.AssertionFailedError: Hit 5 docnumbers don't match [junit4] > Hits length1=25 length2=25 [junit4] > hit=0: doc24=1.0, doc24=1.0 [junit4] > hit=1: doc33=1.0, doc33=1.0 [junit4] > hit=2: doc34=1.0, doc34=1.0 [junit4] > hit=3: doc38=1.0, doc38=1.0 [junit4] > hit=4: doc43=1.0, doc43=1.0 [junit4] > hit=5: doc119=1.0, doc183=1.0 [junit4] > hit=6: doc142=1.0, doc188=1.0 [junit4] > hit=7: doc146=1.0, doc193=1.0 [junit4] > hit=8: doc152=1.0, doc228=1.0 [junit4] > hit=9: doc159=1.0, doc244=1.0 [junit4] > hit=10: doc163=1.0, doc250=1.0 [junit4] > hit=11: doc169=1.0, doc282=1.0 [junit4] > hit=12: doc173=1.0, doc284=1.0 [junit4] > hit=13: doc183=1.0, doc291=1.0 [junit4] > hit=14: doc188=1.0, doc300=1.0 [junit4] > hit=15: doc193=1.0, doc320=1.0 [junit4] > hit=16: doc228=1.0, doc347=1.0 [junit4] > hit=17: doc244=1.0, doc349=1.0 [junit4] > hit=18: doc250=1.0, doc405=1.0 [junit4] > hit=19: doc282=1.0, doc418=1.0 [junit4] > hit=20: doc284=1.0, doc431=1.0 [junit4] > hit=21: doc291=1.0, doc443=1.0 [junit4] > hit=22: doc300=1.0, doc490=1.0 [junit4] > hit=23: doc320=1.0, doc513=1.0 [junit4] > hit=24: doc347=1.0, doc555=1.0 [junit4] > for query:/[)*-|핯Ѿ]*+/ [junit4] > at __randomizedtesting.SeedInfo.seed([E712F4979E38CFD8:64EB58640929850]:0) [junit4] > at junit.framework.Assert.fail(Assert.java:57) [junit4] > at org.apache.lucene.search.CheckHits.checkEqual(CheckHits.java:205) [junit4] > at org.apache.lucene.search.TestRegexpRandom2.assertSame(TestRegexpRandom2.java:178) [junit4] > at org.apache.lucene.search.TestRegexpRandom2.testRegexps(TestRegexpRandom2.java:164) [junit4] > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit4] > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit4] > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit4] > at java.base/java.lang.reflect.Method.invoke(Method.java:567) [junit4] > at java.base/java.lang.Thread.run(Thread.java:835) {noformat} > Better Segment To Thread Mapping Algorithm > ------------------------------------------ > > Key: LUCENE-8757 > URL: https://issues.apache.org/jira/browse/LUCENE-8757 > Project: Lucene - Core > Issue Type: Improvement > Reporter: Atri Sharma > Assignee: Simon Willnauer > Priority: Major > Fix For: master (9.0), 8.2 > > Attachments: LUCENE-8757.patch, LUCENE-8757.patch, LUCENE-8757.patch, > LUCENE-8757.patch, LUCENE-8757.patch, LUCENE-8757.patch, LUCENE-8757.patch, > LUCENE-8757.patch, LUCENE-8757.patch, LUCENE-8757.patch > > > The current segments to threads allocation algorithm always allocates one > thread per segment. This is detrimental to performance in case of skew in > segment sizes since small segments also get their dedicated thread. This can > lead to performance degradation due to context switching overheads. > > A better algorithm which is cognizant of size skew would have better > performance for realistic scenarios -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org