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

karaf:features-generate-descriptor takes long when faced with complex feature dependencies

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.3
    • Fix Version/s: 4.2.0, 4.1.5
    • Component/s: karaf
    • Labels:
      None

      Description

      Opendaylight's distribution-check jobs generate features which have complex feature dependencies, which exposes scaling issues in karaf:features-generate-descriptor.

      https://github.com/opendaylight/integration-distribution/tree/master/features/singles/odl-integration-all takes ~270 seconds to generate:

      real 4m28.834s
      user 3m40.287s
      sys 1m23.629s

      https://github.com/opendaylight/integration-distribution/tree/master/features/repos/index takes ~638 seconds to generate:

      real 10m38.859s
      user 7m55.004s
      sys 3m17.269s

      Running profiling shows that this time is dominated by short-lived FileInputStreams being generated at a rate of 7K-8Kps – which are coming from both feature reading and from artifact resolution.

        Attachments

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              nite Robert Varga
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: