16.02.2014 Views

Performance Tuning for Oracle WebCenter Content 11g - Fishbowl ...

Performance Tuning for Oracle WebCenter Content 11g - Fishbowl ...

Performance Tuning for Oracle WebCenter Content 11g - Fishbowl ...

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.

In <strong>WebCenter</strong> <strong>Content</strong> <strong>11g</strong>, the content management solution is deployed inside Weblogic Server (WLS), with any<br />

JVM tuning per<strong>for</strong>med on the application server. You have full control, either by modifying the managed server<br />

using the administrative console or modifying the USER_MEM_ARGS environment variable startup scripts.<br />

<strong>Oracle</strong>’s documentation suggests the following on Unix and Windows with the JRockit JVM:<br />

-Xms256m -Xmx1024m –XnoOpt<br />

The –Xmx flag specifies the maximum heap size with this example specifying 1GB of memory. Best practice is to<br />

keep your JVM heap settings under 75-80% of the available physical RAM, within limits <strong>for</strong> machines with<br />

excessive amounts of memory. As heap size is increased, CPU load will also increase <strong>for</strong> larger garbage collections.<br />

Under 32-bit operating systems, 1.5GB is the practical maximum limit assuming other services are not consuming<br />

resources.<br />

The –Xms flag specifies the minimum heap size on initial startup. Increasing the heap takes considerable time, so it<br />

is best to set the Xmx and Xno parameters to the same size. For example:<br />

-Xms1024m -Xmx1024m -XnoOpt -XgcPrio:throughput<br />

On x86 and x64 hardware, JRockit should be the preferred JVM. JRockit was a Java virtual machine optimized <strong>for</strong><br />

x86 hardware by Intel, purchased by BEA, and acquired by <strong>Oracle</strong>. The JRockit JVM per<strong>for</strong>ms significantly faster<br />

on x86 or x64 Windows and Linux architectures than Sun’s architecturally neutral JVM implementation.<br />

An example of JVM tuning, from another <strong>Oracle</strong> whitepaper, started with:<br />

-Xms3g<br />

-Xmx3g<br />

-XX:PermSize=512m<br />

-XX:MaxPermSize=512m<br />

-XX:+UseParallelGC<br />

-XX:ParallelGCThreads=8<br />

-verbose:gc<br />

-XX:+PrintGCDetails<br />

-XX:+PrintGCTimeStamps<br />

-XX:NewRatio=3<br />

-XX:+UseAdpativeSizePolicy<br />

-XX:+AggressiveHeap<br />

-XX:+DisableExplicitGC<br />

-Xnoclassgc<br />

-Xloggc:<br />

and continued to tune <strong>WebCenter</strong> as:<br />

-d64<br />

-server<br />

-Xms3g<br />

-Xmx3g<br />

-XX:PermSize=512m<br />

-XX:MaxPermSize=1024m<br />

-XX:+AggressiveOpts<br />

-XX:+UseParallelGC<br />

-XX:ParallelGCThreads=16<br />

© 2012. <strong>Fishbowl</strong> Solutions, Inc.

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

Saved successfully!

Ooh no, something went wrong!