Bug 780159 (SOA-2535)

Summary: Drools performance degradation
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Kevin Conner <kevin.conner>
Component: JBoss RulesAssignee: Tihomir Surdilovic <tsurdilo>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.1.0.ER3CC: tsurdilo
Target Milestone: ---   
Target Release: FUTURE   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-2535
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-04 15:22:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 780040    
Attachments:
Description Flags
JBRULES-2764.patch none

Description Kevin Conner 2010-11-03 12:21:17 UTC
project_key: SOA

Platform issue for JBRULES-2764, performance degradation with drools.

Comment 1 Kevin Conner 2010-11-03 12:21:34 UTC
Link: Added: This issue is a dependency of SOA-2402


Comment 2 Kevin Conner 2010-11-03 12:21:47 UTC
Link: Added: This issue depends JBRULES-2764


Comment 4 Tihomir Surdilovic 2011-01-04 14:50:30 UTC
* Comment copied from JBRULES-2764*

We focused on improving the session creation time and test show following data compared to provided 501 and 511 tests (all test ran locally):

run501.sh
RuleTest: count=10000, total=1677ms, average=0.1677ms
KnowledgeTest: count=10000, total=1385ms, average=0.1385ms
***********
run511.sh
RuleTest: count=10000, total=4211ms, average=0.4211ms
KnowledgeTest: count=10000, total=3820ms, average=0.382ms
***********
run520-snapshot.sh
RuleTest: count=10000, total=105ms, average=0.0105ms
KnowledgeTest: count=10000, total=86ms, average=0.0086ms

and exec tests:

exec501.sh
RuleTest: count=10000, total=3418ms, average=0.3418ms
KnowledgeTest: count=10000, total=2941ms, average=0.2941ms
***********
exec511.sh
RuleTest: count=10000, total=6000ms, average=0.6ms
KnowledgeTest: count=10000, total=5976ms, average=0.5976ms
***********
exec520snapshot.sh
RuleTest: count=10000, total=1865ms, average=0.1865ms
KnowledgeTest: count=10000, total=4533ms, average=0.4533ms

Test show significant improvements on the session creation time. With session execution we are limited as to what can be done as there were significant new features added to Drools 5.1. Not sure what can be done about that short-term.

Let me know if these tests results would suite the needs.

Thanks. 

Comment 5 Tihomir Surdilovic 2011-01-04 15:22:09 UTC
Attachment: Added: JBRULES-2764.patch


Comment 6 Tihomir Surdilovic 2011-01-04 15:22:54 UTC
Release Notes Text: Added: Patch provided. Improvements on session creation.