5 Replies Latest reply on Nov 20, 2017 12:58 AM by liang cheng

    [wildfly]jmx performance between two nodes degradation

    liang cheng Newbie

      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)

       

      Say machine A invoke this API on mbean, deployed on machine B. And, at Mbean side, this method only print the array size. At client (machine A) side, I record the performance metric, that is how many events can be handled in one second,  Following is test result

      StringLength*ArrayLength

      JBoss42

      Wildfly

      1000*5000

      9671

      5612

      1000*1000

      9533

      5585

      500*1000

      18975

       

      100*1000

      78071

      10895

      you can see wildfly the performance is very poor compared to JBoss42. From jprofile, most cost at remoting part, so I think remote EJB should also have such performance issue.

      My test source code and jars is attached.

       

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