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

Perf degradation seen with CRUD on managed user with router audit event handler

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not a defect
    • Affects Version/s: OpenIDM 5.5.0
    • Fix Version/s: None
    • Component/s: Module - Audit, Performance
    • Labels:
    • Environment:
      IDM master runs on a CentOS 7 with MySQL as repo, Java 8.
    • Target Version/s:
    • Story Points:
      3
    • Sprint:
      OpenIDM Sprint 80, OpenIDM Sprint 81, OpenIDM Sprint 80 Mezzo

      Description

      In 5.0.0, we can do dispatch rate 15 users/second for CRUD on managed users with router audit event handler. In 5.5.0, with dispatch rate 5 users/second, requests would still timeout.
      This should have existed in 5.5.0 for a while, since we didn't enable the test right after 5.0.0 release, it's not detected earlier, also OPENIDM-8268 was in play.

      attached is the jstack output for IDM when the test is running, idm log and test log.
      jstack shows many threads are in blocked state.

      To reproduce using Pyforge:
      change pyforge/config/config.cfg to have dispatch rate 5 user/second and duration 300.
      put idm zip under pyforge/archives/
      and run command
      python -u run-pybot.py -c stress -i gatling -s idm.CrudWithRouterEventHandler -t IDM_Managed_User_Create_Put OpenIDM

      and observe the test fails with requests timeout.

        Attachments

        1. debug.txt
          57 kB
        2. jstack.out
          4.61 MB
        3. openidm0.log.0
          1.61 MB
        4. perf compare - 5.0.csv
          31 kB
        5. perf compare - 5.5.csv
          37 kB

          Issue Links

            Activity

              People

              Assignee:
              jim.mitchener Jim Mitchener
              Reporter:
              Tinghua.Xu Tinghua Xu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: