[ 
https://issues.apache.org/jira/browse/LUCENE-9662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17408746#comment-17408746
 ] 

Michael McCandless commented on LUCENE-9662:
--------------------------------------------

Whoa, look [how much faster {{CheckIndex}} 
got|https://home.apache.org/~mikemccand/lucenebench/checkIndexTime.html] in the 
nightly benchmarks!  From ~235 seconds to ~110.

Of course, this is on [ridiculously concurrent (256 cores with hyperthreading) 
hardware|https://blog.mikemccandless.com/2021/01/apache-lucene-performance-on-128-core.html],
 but still it is only using the default 4 concurrent threads right?  I'll add 
an annotation, and increase its concurrency some!

> CheckIndex should be concurrent
> -------------------------------
>
>                 Key: LUCENE-9662
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9662
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Michael McCandless
>            Priority: Major
>          Time Spent: 18h
>  Remaining Estimate: 0h
>
> I am watching a nightly benchmark run slowly run its {{CheckIndex}} step, 
> using a single core out of the 128 cores the box has.
> It seems like this is an embarrassingly parallel problem, if the index has 
> multiple segments, and would finish much more quickly on concurrent hardware 
> if we did "thread per segment".
> If wanted to get even further concurrency, each part of the Lucene index that 
> is checked is also independent, so it could be "thread per segment per part".



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to