6 Replies Latest reply on Nov 27, 2017 9:51 PM by lcheng_nj

    [wildfly]jmx call performance degradates a lot from JBoss42 to Wildfly9

    lcheng_nj

      We switch our application server from  JBoss4.2 to wildfly9.0.1 recently. After some testing, we found the JMX call performance degrade a lot.

      Take following test method as example, we use it to send one string array, the array size can vary, and each string length can change.

      public void perfWithStringArray(String[] events)

       

      It's easy to reproduce in my environment. Start application server (JBoss42 or Wildfly9) in my machine, and then deploy one MBean(notifiableMBeanjboss42.sar for JBoss42, notifiableMBeanwildfly.jar for wildfly) with following simple method.

      public void perfWithStringArray(String[] events) .

      The client (StandaloneMBeanInvoker4JBoss42.java for JBoss42, and StandaloneInvoker.java for wildfly9) is also located in my local machine. Please take a look at the performance data

       

      StringLength*ArrayLengthEPS(JBoss42)EPS(Wildfly9.01)
      128*20030000065000
      128*50036500080000
      512*50012600025000
      1024*5006700012000
      1024*50006700012000

      The last two columns mean how many event could be handled in one second. You can see the performance degrades a lot.

      Not sure whether wildfly has any setting/configuration that could be modified/tuned to improve the performance.

       

      The MBean and client code is attached.