Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-18377

Improve the performance when listing many jobs (GSoC 2019, coding phase 2)

    • RoleStrategy-Performance

      This affects a jenkins installation with 750+ jobs.

      When loading the "Overview" to list all jobs, the loading time is over 60 seconds.

      With the role-strategy plugin disabled, the loading time goes down to 5 seconds.

          [JENKINS-18377] Improve the performance when listing many jobs (GSoC 2019, coding phase 2)

          Croesus Kall created issue -

          Croesus Kall added a comment -

          Profiling shows that the following uses a lot of CPU time

          com.michelin.cio.hudson.plugins.rolestrategy.RoleMap$2perform()

          And this also seems to relate to:
          https://issues.jenkins-ci.org/browse/JENKINS-17122

          Croesus Kall added a comment - Profiling shows that the following uses a lot of CPU time com.michelin.cio.hudson.plugins.rolestrategy.RoleMap$2perform() And this also seems to relate to: https://issues.jenkins-ci.org/browse/JENKINS-17122

          I am also experiencing this problem, but not with that many jobs. This started occurring after an upgrade from Jenkins 1.510 to 1.521

          Walter Kacynski added a comment - I am also experiencing this problem, but not with that many jobs. This started occurring after an upgrade from Jenkins 1.510 to 1.521
          Walter Kacynski made changes -
          Priority Original: Major [ 3 ] New: Blocker [ 1 ]

          I am increasing the priority of this issue since this prevents upgrades to newer releases of Jenkins.

          Walter Kacynski added a comment - I am increasing the priority of this issue since this prevents upgrades to newer releases of Jenkins.
          Walter Kacynski made changes -
          Link New: This issue is related to JENKINS-17122 [ JENKINS-17122 ]

          I linked JENKINS-17122 to see if it has any bearing on this problem.

          Walter Kacynski added a comment - I linked JENKINS-17122 to see if it has any bearing on this problem.
          Joe Zeldin made changes -
          Link New: This issue is related to JENKINS-18721 [ JENKINS-18721 ]
          Joe Zeldin made changes -
          Link New: This issue is related to JENKINS-18723 [ JENKINS-18723 ]

          Stanislav Bashkyrtsev added a comment - - edited

          I've raised issues with detailed analysis: JENKINS-18721 JENKINS-18723 They might be the reason of current problem. RBAC is what makes the problem visible, but the problem itself is not in RBAC (at least that was what my analysis showed to me), but in ListView.

          Stanislav Bashkyrtsev added a comment - - edited I've raised issues with detailed analysis: JENKINS-18721 JENKINS-18723 They might be the reason of current problem. RBAC is what makes the problem visible, but the problem itself is not in RBAC (at least that was what my analysis showed to me), but in ListView.

            abhyudaya Abhyudaya Sharma
            croesus Croesus Kall
            Votes:
            14 Vote for this issue
            Watchers:
            26 Start watching this issue

              Created:
              Updated: