[xep-support] Performance and synchronization

Irv Salisbury III irv at dotech.com
Thu Apr 21 09:41:13 PDT 2005


Is there any way to turn this off? 

Irv

David Tolpin wrote:

>>
>> It seems like when we go to 4 and 8 processors, the actual rendering 
>> time goes way up, like something in synchronized in the internals of 
>> XEP.
>
>
> Attribute values are memoized in a global weak cache, and when an 
> attribute is interned in the cache, the call is synchronized. This 
> saves memory and speeds up many things, but slows the internal parser 
> on multiprocessor setups. If you don't care about memory, run several 
> instances of JVM and a load balancer to access them, such as EnMasse.
>
> If hypothesis is correct,  then the slowdown is in the parser, that 
> is, before the logger starts counting pages.
>
> David
>
> -------------------
> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
> in the body of the message to majordomo at renderx.com from the address
> you are subscribed from.
> (*) By using the Service, you expressly agree to these Terms of 
> Service http://www.renderx.com/tos.html

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list