Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-6454

FeaturesServiceImpl downloadThreads does not improve throughput

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.3.0, 4.2.9
    • Component/s: karaf
    • Labels:

      Description

      I am looking into a slow Karaf startup and I stumbled onto this problem

      FeaturesServiceImpl does allow for parallelism thanks to the downloadThreads configuration
      It does respect this value and createDownloadManager() will use it to size the threadpool.

      However adding a large amount of features at the same time results in one by one downloads across these threads.
      I am currently looking for any pointers where the features install could be sequenced.
      Attached is a JProfiler screenshot illustrating this problem.

        Attachments

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              fabianlange Fabian Lange
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: