Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-9165

change generate-defaults.gradle not to cap testsJvms at 4

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.0
    • None
    • None
    • New

    Description

            def cpus = Runtime.runtime.availableProcessors()
            def testsJvms = (int) Math.max(1d, Math.min(cpus * 0.5d, 4))
      

      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.

      Attachments

        1. LUCENE-9165.patch
          1 kB
          Robert Muir

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: