0% found this document useful (0 votes)
286 views2 pages

Java Performance Tuning

The document provides instructions to configure several J2EE and HTTP provider settings, such as enabling chunked responses, setting cache control values, and minimum gzip length, to help improve portal performance and response times. It also recommends enabling the portal navigation cache by navigating to the Navigation Cache setting in the system administration tool to cache navigation hierarchies. The document lists recommended Java VM settings for the dispatcher and server node to optimize garbage collection and memory usage.

Uploaded by

vinibha
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
286 views2 pages

Java Performance Tuning

The document provides instructions to configure several J2EE and HTTP provider settings, such as enabling chunked responses, setting cache control values, and minimum gzip length, to help improve portal performance and response times. It also recommends enabling the portal navigation cache by navigating to the Navigation Cache setting in the system administration tool to cache navigation hierarchies. The document lists recommended Java VM settings for the dispatcher and server node to optimize garbage collection and memory usage.

Uploaded by

vinibha
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

Just ensure the following values are in place in the j2ee config tool.

Under HTTP provider:


CacheControl=604800
SapCacheControl=604800
MinimumGZipLength = 1024
NeverCompressed = see values in guide attached
Under servlet_jsp:
EnableChunkedResponse = true
This should help in some way for the purely Portal areas. Let me know if you not
ice any difference after the change.
In addition can you tell me if you have Portal navigation cache enabled? By defa
ult the navigation cache is disabled. By enabling the navigation cache the porta
l caches each set of navigation nodes required
by a user. If a user has access to the same navigation hierarchy as a previous u
ser, the portal can retrieve the navigation hierarchy from the cache instead of
generating it again. This caching will help to
to improve response time performance.
To enable navigation cache go to System Administration > Navigation >Navigation
Cache and in the the Cache Management area, click Enable All.

********************************************************************************
*****************************
Java version "1.4.2_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03)
Java HotSpot(TM) Client VM (build 1.4.2_12-b03, mixed mode)

********************************************************************************
**********************************
Rec. VM Version 1.4.2_20 b04
For Dispatcher:
-Xms256M
-verbose:gc
-Djava.security.policy=./java.policy
-Xss2m
For Server Node:
-Xms2560M (if BW system is shared with this) or else 2048M will be fine
-XX:NewSize=426M
-XX:MaxNewSize=426M
-XX:PermSize=512M
-XX:MaxPermSize=512M
-XX:SoftRefLRUPolicyMSPerMB=1
-XX:+DisableExplicitGC
-XX:SurvivorRatio=2
-XX:TargetSurvivorRatio=90
-verbose:gc
-XX:+UseParNewGC
-XX:+PrintGCTimeStamps
-XX:+PrintGCDetails
-XX:+UseTLAB
-Dsun.io.useCanonCaches=false
-Djava.awt.headless=true
-Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy
-Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy
-Dorg.omg.PortableInterceptor.ORBInitializerClass.com.sap.engine.services.ts.jts
.ots.PortableInterceptor.JTSInitializer
-Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemote
ObjectProxy
-XX:+HandlePromotionFailure
-Djava.security.policy=./java.policy
-Djava.security.egd=file:/dev/urandom
-XX:ReservedCodeCacheSize=64M
-XX:CodeCacheMinimumFreeSpace=2M
-Xss2m
MinThreadCount 40
Keep Alive Enable the reuse of HTTP connections for multiple requests enabled
Use Cache Enable the memory-based cache enabled
Directory List List all files in directory of default files not found disabled
Log Responses Log all HTTP requests disabled
CacheControl Static content expiration time in seconds (for browser cache) 60480
0
SapCacheControl Static content expiration time in seconds (for ICM cache) 604800
HTTP Provider MinimumGZipLength 1024
********************************************************************************
**********************************

You might also like