[rules-users] Re: Performance Tuning

Mark Proctor mproctor at codehaus.org
Tue Aug 7 16:02:23 EDT 2007


Just turn everything on, and you should see improved performance. 
However I would recomend you move to 4.0 as soon as possible, we have 
much better performance nad memory usage there.

Mark
Yuri wrote:
> Mark Proctor <mproctor <at> codehaus.org> writes:
>   
>> I assume you are on 3.0, as the properties system should be overhauled. 
>> However left beta node indexings should be true, for both 3.0 and 4.0. I 
>> can't remember if alpha node hashing is true or false in 3.0, but in 4.0 
>> its false as default and then gets turned on when you try to do dynamic 
>> rule additions. But in all honest you shouldn't be touching that stuff 
>> unless you really know what you are doing. Turning of left beta node 
>> indexing only improves performance for rules that are always activated 
>> from the root (first) pattern.
>>     
>
> Yes, I am using 3.0.6.
>
> Here are the defaults from RuleBaseConfiguration.java:
>
> RuleBaseConfiguration.PROPERTY_INDEX_LEFT_BETA_MEMORY = false
> RuleBaseConfiguration.PROPERTY_INDEX_RIGHT_BETA_MEMORY = true
> RuleBaseConfiguration.PROPERTY_HASH_OBJECT_TYPE_NODES = true
> RuleBaseConfiguration.PROPERTY_HASH_ALPHA_NODES = false
>
> For an application that has hundreds of thousands of facts in memory with few
> rules would any of these settings improve the performance of joins?
>
> thanks,
>
> -- yuri
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070807/a0f4065a/attachment.html 


More information about the rules-users mailing list