08.06.2014 Views

Download PDF (1.3 MB) - IBM Redbooks

Download PDF (1.3 MB) - IBM Redbooks

Download PDF (1.3 MB) - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

For business processes, Integration Designer is also used to control event monitoring. Check<br />

the Event Monitor tab for your components and business processes to ensure that event<br />

monitoring is applied judiciously.<br />

For BPMN business process definitions (BPDs), auto-tracking is enabled by default. If<br />

business requirements do not require tracking events for a BPD, turn off auto-tracking. If event<br />

tracking is required, consider creating a tracking group to define a small set of events for<br />

tracking purposes.<br />

4.7.2 Tuning for large objects<br />

This section describes tuning for performance when you use large objects (LOBs).<br />

Increasing the Java heap size to its maximum<br />

One of the key factors affecting large object processing is the maximum size of the Java heap.<br />

This section describes how to set the heap size as large as possible on two commonly used<br />

platforms, WIndows and AIX.<br />

►<br />

►<br />

Windows (32-bit)<br />

Because of address space limitations in the Windows 32-bit operating system, the largest<br />

heap that can be obtained is 1.4 GB to 1.6 GB for 32-bit JVMs.<br />

AIX (32-bit)<br />

On AIX 32-bit systems, the Java 5 and Java 6 JVM typically support heaps in the range of<br />

2 GB to 2.4 GB. Because the 4 GB address space allowed by the 32-bit system is shared<br />

with other resources, the actual limit of the heap size depends on the memory that is used<br />

by these resources. These resources include thread stacks, JIT compiled code, loaded<br />

classes, shared libraries, and buffers used by OS system services. A large heap squeezes<br />

address space reserved for other resources and might cause runtime failures.<br />

Setting maximum heap sizes applies only to 32-bit JVMs; when using 64-bit JVMs, the heap<br />

size is constrained only by the amount of available physical memory. The suggested<br />

configuration for Business Process Manager servers is 64-bit.<br />

For comprehensive heap setting techniques, see 4.16, “Advanced Java heap tuning” on<br />

page 91.<br />

Reducing or eliminating other processing while processing a LOB<br />

One way to allow for larger object sizes is to limit concurrent processing within the JVM. Do<br />

not expect to process a steady stream of the largest objects possible concurrently with other<br />

Business Process Manager server and WebSphere Adapters activities. The operational<br />

assumption when considering large objects is that not all objects are large or very large and<br />

that large objects do not arrive often, perhaps only once or twice per day. If more than one<br />

very large object is being processed concurrently, the likelihood of failure increases<br />

dramatically.<br />

The size and number of the normally arriving smaller objects affect the amount of Java heap<br />

memory consumption in the system. In general, the heavier the load on a system when a<br />

large object is being processed, the more likely that memory problems are encountered.<br />

For adapters, the amount of concurrent processing can be influenced by setting the pollPeriod<br />

and pollQuantity parameters. To allow for larger object sizes, set a relatively high value for<br />

pollPeriod (for example, 10 seconds) and low value for pollQuantity (for example, 1 second) to<br />

minimize the amount of concurrent processing that occurs. These settings are not optimal for<br />

Chapter 4. Performance tuning and configuration 63

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!