Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
New
Description
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
Attachments
Attachments
Issue Links
- causes
-
LUCENE-8819 org.apache.lucene.search.TestTopDocsMerge.testSort_1 failure
- Open
- is related to
-
LUCENE-8829 TopDocs#Merge is Tightly Coupled To Number Of Collectors Involved
- Resolved