My Photo

Become a Fan

DailyMile

Google Ad Skyscraper

« Faster CMP with WebSphere 5.0.2 | Main | JCA, a thread too far. »

September 16, 2003

Comments

Cameron

Thread pool should be set to the value that provides the highest throughput. That may mean adding a couple threads even when the CPU shows 100%, or it may mean not getting the CPU to 100%.

To determine this value, you need to load test, and "narrow in" on the optimal number. Try 10 .. try 20 .. if you can add threads and throughput increases, then add threads. Once that trend levels or reverses, go backwards in small increments until you find the peak.

Peace.

Billy

No argument with that.

Bruce Ritchie

One of the places I recommend people start with when looking at gc tuning with the latest Sun JVM is http://java.sun.com/docs/hotspot/gc1.4.2/


As well, Sun has released an application that analyzes GC logs which can prove useful - http://192.168.1.206:8080/jive3/admin/index.jsp


Regards,

Bruce Ritchie

Mo Marikar

in regards to GC policy
Testing of a servlet serving JSP pages interfacing to Oracle 9i with a Novell redirector (yet another Struts withpersonalization capabilities) -
"Xgcpolicy:optavgpause" "Xgcthreads2"
what I'm finding on a 2 CPU Linux Blade running WAS 5.1 is as follows:
1. The above after about 40 minutes into a 60 minute test crashed the IBM 1.4.1 JVM. Repeated the tests again, and the TPS of the app dies and WAS hangs. Verbose GC clearly indicates concurrent GC collection
2. What I found to be best was
Xinitsh2M -Xgcpolicy:optthruput -Xgcthreads6
I also replaced the standard JDBC Oracle driver
with Oracle's "Heavy" driver and this combination gave the best performance.

The comments to this entry are closed.