msokolov commented on PR #12255: URL: https://github.com/apache/lucene/pull/12255#issuecomment-1552065169
I see that `constants.SEARCH_NUM_THREADS=2` and this is what is passed to Competitor() by default as `numThreads`, and is then passed to `perf.SearchPerfTest` as `-searchThreadCount`, and eventually used in `TaskThreads` to run multiple tasks concurrently. `SearchPerfTest` creates a thread pool for use by `IndexSearcher` if `-concurrentSearches` was passed, but ... this is `False` by default and doesn't seem to get set anywhere. So ... just repeating the same analysis that @benwtrent did I don't see that `luceneutil` is running concurrent searching (per query), just running two distinct queries ("tasks") simultaneously. -- 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