Sizing and Performance Guidelines

Overview

This appendix contains sizing and performance tuning recommendations for Oracle XML Gateway. Performance sizing and performance recommendations are provided for Oracle Workflow listeners of Oracle E-Business Suite and the oafm managed server (memory parameters and java cache settings).

This appendix includes the following topics:

Please note that all the recommendations mentioned here are based on Performance Testing in internal lab environments. The actual numbers may have to be considered based on load in production instances.

Recommendations for Inbound Messages and Transactions

Recommendations for Improving the Performance

When multiple inbound transactions are submitted concurrently, you may see high elapsed time for a transaction. You can fine tune parameters controlling Oracle Workflow listeners to improve the performance of inbound transaction in such scenario.

The following recommendations are applicable when the approximate number of concurrent transactions is more than 1,000 with a payload size of 20KB or more. These changes increase CPU consumption on the server.

  1. Increase the value of the parameter “Inbound Thread Count” from 1 to 5 for the following listeners:

    • ECX Inbound Agent Listener

    • ECX Transaction Agent Listener

    • Workflow Java Deferred Agent Listener

    To do this, perform the following steps:

    1. Log in to Oracle Applications Manager as a user who has the System Administrator responsibility.

    2. Navigate to OAM Setup from the navigation menu and select the Site Map link.

    3. Select the Service Components link under Workflow.

    4. Select the corresponding listener and click the Edit button.

    5. Click the Next button.

    6. Update the parameter value and click the Finish button.

    7. Restart the Agent Listener.

  2. Decrease the value of the parameter “Processor Min Loop Sleep” from 120 seconds to 5 seconds for the following listeners:

    Note: Ensure the parameter “Processor Min Loop Sleep” is set to the default value (5 seconds) for the Workflow Java Deferred Agent Listener.

    • ECX Inbound Agent Listener

    • ECX Transaction Agent Listener

    To do this, perform the following steps:

    1. Log in to Oracle Applications Manager as a user who has the System Administrator responsibility.

    2. Navigate to OAM Setup from the navigation menu and select the Site Map link.

    3. Select the Service Components link under Workflow.

    4. Select the corresponding listener and click the Edit button.

    5. Click the Next button.

    6. Update the parameter value and click the Finish button.

    7. Restart the Agent Listener.

Refer to the Oracle Workflow Administrator's Guide for more information.

Resolving an Out of Memory Exception

When multiple inbound transactions are submitted concurrently, an out of memory exception may occur at two different levels during the processing of inbound transactions. Initially an out of memory exception may occur at the oafm managed server level even if it has significant amount of default JVM size, such as 1 GB, which is sufficient to handle a payload size of up to 50MB. Consequently, an out of memory exception may occur at the Workflow Java Deferred Agent Listener level when the agent listener is contained within the Generic Service Component Container, which has sufficient default JVM size, such as 384MB, to handle a payload size of up to 50MB.

These recommendations are applicable when an out of memory exception is encountered with a payload size more than 50MB.

Note: The default JVM size of the oafm managed server may cause an out of memory exception for payloads larger than 50MB.

Recommendations

The following table shows the maximum JVM size required for the oafm managed server and Workflow Java Deferred Agent Listener for a particular size of payload with a single transaction to avoid an out of memory exception. The Workflow Java Deferred Agent Listener is contained within the Generic Service Component Container; therefore, we must increase its JVM size to increase the listener's JVM size.

Payload Size OAFM Server JVM Size Generic Service Component Container JVM Size Default or Recommended Values?
Up to 50MB "-Xmx1024" "-Xmx384m" default
51MB-150MB "-Xmx2048m" "-Xmx1536m" recommended
200MB "-Xmx3072m" "-Xmx2048m" recommended

Perform the following steps to change JVM sizes:

Recommendations for Outbound Messages and Transactions

Similar to inbound transactions, when multiple outbound transactions are submitted concurrently, the elapsed time of transactions escalates with an increase in number of transactions. To improve the performance of outbound transactions, fine tune the outbound parameter settings and the parameters controlling Oracle Workflow listeners.

Recommendations

The following recommendations are applicable when the approximate number of concurrent transactions is more than 1,000 with a payload size 100KB or more. These changes increase CPU consumption on the server.

  1. Decrease the "OXTAOutDequeueRate" parameter time from 12000 msecs (2 minutes) to 1000 msecs (1 second)

    For instructions on how to change this value, refer to My Oracle Support Knowledge Document 829449.1, Preserve System Properties Customized For Your ECX (XML Gateway).

  2. Increase the "OXTAOutThreads" parameter value from 1 to 2

    For instructions on how to change this value, refer to My Oracle Support Knowledge Document 829449.1, Preserve System Properties Customized For Your ECX (XML Gateway).

  3. Decrease the value of parameter “Processor Min Loop Sleep” for Workflow Deferred Agent Listener from 120 seconds to 2 seconds

    To do this, perform the following steps:

    1. Log in to Oracle Applications Manager as a user who has the System Administrator responsibility.

    2. Navigate to OAM Setup from the navigation menu and select the Site Map link.

    3. Select the Service Components link under Workflow.

    4. Select the corresponding listener and click the Edit button.

    5. Click the Next button.

    6. Update the parameter value and click the Finish button.

    7. Restart the Agent Listener.

  4. Increase the value of parameter “Inbound Thread Count” for the Workflow Deferred Agent Listener from 1 to 5 for a map size up to 100KB and from 1 to 8 for a map size greater than 100KB.

    To do this, perform the following steps:

    1. Log in to Oracle Applications Manager as a user who has the System Administrator responsibility.

    2. Navigate to OAM Setup from the navigation menu and select the Site Map link.

    3. Select the Service Components link under Workflow.

    4. Select the corresponding listener and click the Edit button.

    5. Click the Next button.

    6. Update the parameter value and click the Finish button.

    7. Restart the Agent Listener.

  5. If the destination server is Oracle E-Business Suite, then it should have the optimal settings mentioned in the previous section for inbound transactions.