[Cosmo] Cosmo and Jrockit oh so good!
Brian Kirsch
bkirsch at osafoundation.org
Wed Dec 14 10:39:28 PST 2005
Hi Jared,
To facilitate performance / bug testing between Cosmo 0.2.4 and Chandler
I would like to have a server on cosmodemo (halua)
that is leveraging the jrockit vm.
I have gone ahead and installed jrockit, cosmo0.2.4 and an environmental
config script in my local halua environment /home/bkirsch.
I have set my .profile to include:
JAVA_HOME=/home/bkirsch/jrockit
export JAVA_HOME
COSMO_HOME=/home/bkirsch/cosmo-0.2.4
export COSMO_HOME
JAVA_OPTS="$JAVA_OPTS -Xns:750m -Xms:1000m -Xmx:1000m"
JAVA_OPTS="$JAVA_OPTS -Xgcpause"
JAVA_OPTS="$JAVA_OPTS -Xgcreport"
JAVA_OPTS="$JAVA_OPTS -Xverbose:memory"
JAVA_OPTS="$JAVA_OPTS -Xverboselog:/home/bkirsch/gc.log"
JAVA_OPTS="$JAVA_OPTS -Xmanagement"
export JAVA_OPTS
PATH=$JAVA_HOME/bin:$COSMO_HOME/bin:$PATH
The server when started via cosmoctl has the following configuration:
/home/bkirsch/jrockit/bin/java -Xns:750m -Xms:1000m -Xmx:1000m -Xgcpause
-Xgcreport -Xverbose:memory -Xverboselog:/home/bkirsch/gc.log
-Xmanagement -server -Dcom.sun.management.jmxremote
-Dical4j.unfolding.relaxed=true -Dderby.stream.error.file=logs/derby.log
-Dderby.infolog.append=true
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.endorsed.dirs=/home/bkirsch/cosmo-0.2.4/tomcat/common/endorsed
-classpath
:/home/bkirsch/cosmo-0.2.4/tomcat/bin/bootstrap.jar:/home/bkirsch/cosmo-0.2.4/tomcat/bin/commons-logging-api.jar
-Dcatalina.base=/home/bkirsch/cosmo-0.2.4/tomcat
-Dcatalina.home=/home/bkirsch/cosmo-0.2.4/tomcat
-Djava.io.tmpdir=/home/bkirsch/cosmo-0.2.4/tomcat/temp
org.apache.catalina.startup.Bootstrap start
What I would like to do is kill of some of the current running cosmo
java processes and have this new jrockit vm Cosmo running on 8080 for
load testing against Chandler.
This will allow us to pinpoint any major points of failure between Cosmo
and Chandler as well as do in depth performance and memory profiling.
Thoughts?
-Brian
--
Brian Kirsch - Email Framework Engineer
Open Source Applications Foundation
543 Howard St. 5th Floor
San Francisco, CA 94105
(415) 946-3056
http://www.osafoundation.org
More information about the Cosmo
mailing list