You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Robert Muir (Jira)" <ji...@apache.org> on 2020/01/23 13:24:00 UTC

[jira] [Created] (LUCENE-9165) change generate-defaults.gradle not to cap testsJvms at 4

Robert Muir created LUCENE-9165:
-----------------------------------

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


{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-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org