Bug 778711 (SOA-1175) - jBPM performance has dropped significantly.
Summary: jBPM performance has dropped significantly.
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-1175
Product: JBoss Enterprise SOA Platform 4
Classification: JBoss
Component: JBPM - within SOA
Version: 4.3 CP01
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 4.3 CP01
Assignee: trev
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-02-13 10:19 UTC by Pavel Macik
Modified: 2009-04-20 16:01 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
SOA 4.3.0 CP01 CR2
Last Closed: 2009-04-20 16:01:38 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-1175 0 None None None Never

Description Pavel Macik 2009-02-13 10:19:42 UTC
Date of First Response: 2009-02-13 09:08:50
project_key: SOA

Performance of jBPM has dropped significantly according to 
http://hudson.qa.jboss.com/hudson/view/SOA-Performance/job/SOA-Platform-PerformanceTest-RHEL5 

Other performance has not changed much so the performance drop is isolated to jBPM.

Comment 1 Pavel Macik 2009-02-13 10:23:55 UTC
I'm going to run the tests again to confirm the results...
The drop is by cca 45%...

Comment 2 Jiri Pechanec 2009-02-13 14:08:50 UTC
We have strong suspicion that the slowdown was coused by varchar(4000)->clob change. Unfortunately this change was done on ALL places regardless if it makes sense or not - e.g. classname, description etc.
Pavel is preparing another run where he replaces clob again with varchars to prove if the hypothesis is correct

Comment 3 Pavel Macik 2009-02-16 07:58:35 UTC
I performed the run with the data type change, but there was no change in performance... so this particular code change is not the culprit.

Comment 4 Thomas Diesler 2009-02-16 12:29:08 UTC
Hi Pavel, could you please add the performance test (suite) to the jbpm code base so we can reproduce what you are seeing?

Comment 5 Pavel Macik 2009-02-16 15:05:14 UTC
The perf test I run is Performance9 of our test suite (http://svn.corp.jboss.com/repos/soa/trunk/qa/tests/quickstarts/tests/)
As far as I know, it works in that way, that a jBPM process asynchronously invokes another service.
The amount of 10000 messages is send and proper time (and message rate) is measured.

Comment 6 Thomas Diesler 2009-02-17 07:01:48 UTC
I cannot access that SVN location. Could you please provide the test in a way that allows me to reproduce what uyou are seeing?

Comment 7 Thomas Diesler 2009-02-17 07:03:38 UTC
Link: Added: This issue is related to JBPM-2043


Comment 9 Pavel Macik 2009-02-17 10:11:11 UTC
The tests are executed using hudson.

Look at the http://hudson.qa.jboss.com/hudson/job/SOA-Platform-SinglePerformanceTest/

This is job for executing single perf test (it is now configured to Performance9).

There is a configuration of soa bits that the test is run against - It is the 'soa.distro.url' ant variable. It points at the soa archive.

The perf test executing script can be found in 'config_repository/scripts/soa/performance_tests.groovy' dir on hudson machines or in (https://svn.corp.jboss.com/repos/qa/hudson/config_repository/scripts/soa/performance_tests.groovy )*

The config of perf test is placed in 'config_repository/resources/soa/performance_tests/' dir on hudson machines or in (https://svn.corp.jboss.com/repos/qa/hudson/config_repository/resources/soa/performance_tests/ )*

The tests itself can be found checked out from svn in 'qa' dir inside the hudson job workspace.

*(if you can access the svn)

Let me be curious. Don't you have your own perf tests? 

Comment 11 Pavel Macik 2009-02-18 09:57:02 UTC
I run those tests with the default Hypersonic DB... and results are as follow (the measurement units are [p/s] = processes per second):

3.2.2 -> 473.49 p/s
3.2.5 -> 344.91 p/s

That means that the new one is slower by cca 28%. 

Comment 12 Pavel Macik 2009-02-18 12:14:39 UTC
I run the tests with MySQL DB (using the same jdbc driver in both cases)... and results are as follow (the measurement units are [p/s] = processes per second):

3.2.2 -> 88.23 p/s
3.2.5 -> 70.61 p/s

That means that the new one is slower by cca 20%. 

Comment 13 Martin Vecera 2009-02-18 12:39:35 UTC
Findbugs report - performance issues that were introduced in SOA-P 4.3.CP01 CR2.
http://hudson.qa.jboss.com/hudson/view/SOA-Release/job/soa-findbugs/lastSuccessfulBuild/artifact/soa-4.3.0.GA_CP01_CR2-diff.html#Warnings_PERFORMANCE

Comment 14 Thomas Diesler 2009-02-18 16:46:39 UTC
Martin, I rolled back your commit on the 3.2.5.SP1 tag. 

You must never commit on a SVN tag. Instead commit on a branch that you created from that tag.

Comment 15 Julian Coleman 2009-03-05 16:36:38 UTC
This is resolved with revisions 2749 and 2750 of:
  build-tools/dependencies.properties

which uses the jBPM 3.2.5 SP3 tag.


Comment 16 Len DiMaggio 2009-04-09 15:38:32 UTC
Re-opening to set Regression flag

Comment 17 Len DiMaggio 2009-04-09 15:38:47 UTC
Affects Testing?: Added: [Regression?]


Comment 18 Len DiMaggio 2009-04-20 16:01:07 UTC
Edited to match changes in 'affects testing' fields  (? character removed from field names for easier querying)

Comment 19 Len DiMaggio 2009-04-20 16:01:28 UTC
Affects Testing: Removed: [Regression?] Added: [Regression]



Note You need to log in before you can comment on or make changes to this bug.