This page is always under construction.

We now of OCCAS up and running. Hooray!

Unfortunately, it is not going to run well. We need to do a lot of performance tuning to make it really hum.

Maximum Message Size

Upgrade the maximum number of bytes allowed in messages that are received over all supported protocols...

For each server, navigate to "Protocols" >> "General" and double the "Maximum Message Size".


Java Arguments

When using Node Manager (which everyone should), you can alter the Java Arguments by navigating to...

Server >> Server Start

Here are some recommendations:

TopicExample SettingsDescription
Memory-Xms4g -Xmx4gAlways set the minimum (Xms) and maximum (Xmx) to the same value. Use as much memory as you can!
Garbage Collection-XX:+UnlockExperimentalVMOptions -XX:+UseZGC

Use the Z garbage collector.

Garbage Collection-XX:+UseG1GCUse the G1 garbage collector if Z is not available
Just-In-Time (JIT) Compiler-XX:CompileThreshold=8000JIT compiler identifies "hot" methods and compiles them into native machine code. The CompileThreshold dictates when this compilation occurs. When a method's invocation count (or the sum of its back-edge loop counter and method entry counter) reaches the specified N, the JIT compiler considers it for compilation. The default value for N is typically 10,000 in the server compiler (C2) and lower for the client compiler (C1).
Random Number Generator

-Djava.security.egd=file:/dev/./urandom

By default, Java uses the 'secure' random number generator. This has particularly poor performance on 'headless' VMs due to the lack of 'entropy' when the OS is being installed. (Entropy is generated by wiggling the mouse. Isn't that crazy?) Anyway, the 'unsecure' random number generator is much faster and can be safely used with OCCAS.

Config.xml

WLSS TIMER MAXTHREADS

<max-threads-constraint>
      <name>wlss.timer.maxthreads</name>
      <target>BEA_ENGINE_TIER_CLUST</target>
      <count>16</count>
      <connection-pool-name></connection-pool-name>
</max-threads-constraint>

Default is 16, set to 200+.

12 CPUS

max threads: 400