Products | Versions |
---|---|
TIBCO iProcess Workspace (Browser) | - |
Not Applicable | - |
Description:
Description:
============
Memory Management on Solaris
On Solaris systems, the Smartheap memory manager cannot be used by a shared library when running inside a process not built with Smartheap. The Java Action Processor uses the underlying iProcess Server Objects (Java) shared library. This shared library always runs in the Java executable, which is never built with Smartheap. Consequently, the benefits of Smartheap are not realized, and therefore it is not used on Solaris systems.
Sun offers a native equivalent to Smartheap, libmtmalloc. When running on a multiprocessor system, TIBCO recommends invoking the libmtmalloc.so library at runtime using the LD_PRELOAD environment variable. Consult your Solaris documentation for further information. The underlying iProcess Server Objects (Java) are not built with libmtmalloc.so, so it must be configured at runtime with LD_PRELOAD.
Memory Management on AIX
On AIX systems, the iProcess Server Objects (Java) that is part of the Java Action Processor component does not utilize Smartheap for optimizing memory management.
By default, AIX uses a single heap to service all memory allocation/de-allocation requests for all threads in a process. When limited to a single heap, simultaneous memory allocation/de-allocation operations are serialized. This can cause a significant negative impact on performance of the Action Processor, which is especially compounded on multi-processor systems.
AIX offers an ability for a process to use multiple heaps thereby reducing the threading contention caused by having a single heap. This can be configured with the MALLOCMULTIHEAP environment variable. When running the Action Processor on a multiprocessor system, TIBCO recommends setting the MALLOCMULTIHEAP environment variable prior to creating the Java process that hosts the Action Processor component of iProcess Workspace (Browser). The MALLOCMULTIHEAP environment variable allows you to specify the number of heaps a process may use. You may need to tune the number of heaps used by the process in order to achieve optimal performance. In general, configuring a process to use more heaps will result in less threading contention but at the cost of using some additional memory. Consult your AIX documentation for further information. Also see the following website for more information:
http://pic.dhe.ibm.com/infocenter/aix/v7r1/index.jsp?topic=%2Fcom.ibm.aix.prftungd%2Fdoc%2Fprftungd%2Fthread_env_vars.htm
Environment:
==========
o TIBCO iProcess Workspace (Browser) version 11.x
o Sun Solaris or IBM AIX systems