Re: [xep-support] Performance and synchronization

From: David Tolpin <dvd@davidashen.net>
Date: Thu Apr 21 2005 - 06:18:44 PDT

>
> 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@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
Received on Thu Apr 21 06:58:47 2005

This archive was generated by hypermail 2.1.8 : Thu Apr 21 2005 - 06:58:48 PDT