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

Robert Muir commented on LUCENE-9165:
-------------------------------------

Patch: as explained again, I think its ok because it uses half of the reported 
cores. And no longer are we burning the 3 threads-per-jvm for crazy compiler 
stuff, so with these defaults I have much happier fans, temperature sensors, 
etc. Utilization is so much lower than before after LUCENE-9160, the artificial 
cap just wastes resources. I do all my testing with IDEs and browsers open, 
xterms/editors everywhere, youtube playing, and monitoring load, temp sensors, 
and fan speeds.


> change generate-defaults.gradle not to cap testsJvms at 4
> ---------------------------------------------------------
>
>                 Key: LUCENE-9165
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9165
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Robert Muir
>            Priority: Major
>         Attachments: LUCENE-9165.patch
>
>
> {code}
>       def cpus = Runtime.runtime.availableProcessors()
>       def testsJvms = (int) Math.max(1d, Math.min(cpus * 0.5d, 4))
> {code}
> Dividing by 2 is still good (hyperthreading is still a thing), but the 
> artificial cap of 4 is a bottleneck if the hardware has more available.



--
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