Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-6445

Throughput for sync managed user with roles to DJ degrades 50% from CentOS6 to CentOS7 during roles updated



    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: OpenIDM 5.0.0, OpenIDM 5.5.0
    • Fix Version/s: OpenIDM 5.5.0
    • Component/s: Module - Roles, Performance
    • Labels:
    • Environment:
      IDM 5.0.0 trunk build, runs on CentOS7, Java 8. Postgres as repo.


      The test tests throughput for sync 9k managed users with roles to DJ when roles are updated. On CentOS6, the sync took around 800 seconds and results in around 11 users/sec, when the same machine and other machines with the same system configurations are upgraded to CentOS7(same version of Postgres and Java are installed), the sync time changed to around 1500~1600 and results in throughput of 5.5 users/sec.
      It's a 50% degradation. note that didn't see obvious perf degradation for other features except this feature.

      To reproduce:
      Run QA automated tests in Pyforge:
      python -u run-pybot.py -c stress -i gatling -s idm.SyncManUsersWithRolesToLdap -t find_idm_sync_create_time_on_managed_users_with_roles -t check_idm_sync_update_time_on_managed_roles OpenIDM

      Attached are jstack output and openidm log files, jstack_out is from a different test run, all other files are from one test run.

      Details of the test:
      1. 5 managed roles which sync managed users assigned to certain LDAP group in DJ.
      2. 9k managed users were assigned roles in round robin way.
      3. roles are updated to sync user to different LDAP group.
      debug.txt has more details about the roles.


        1. debug.txt
          90 kB
        2. jstack_out
          205 kB
        3. jstack_out.2
          213 kB
        4. openidm0.log.0
          4.12 MB
        5. openidm0.log.1
          5.00 MB



            dhogan Dirk Hogan
            Tinghua.Xu Tinghua Xu
            QA Assignee:
            Tinghua Xu Tinghua Xu
            0 Vote for this issue
            2 Start watching this issue