Revision: f8676ed6f226
Author:   Jean Deruelle <[email protected]>
Date:     Fri Aug 31 09:25:53 2012
Log:      trying config change for performance

http://code.google.com/p/sipservlets/source/detail?r=f8676ed6f226

Added:
/sip-servlets-test-suite/sipp-scenarios/performance/jboss-5-setup/mss-sip-stack-jboss-trying.properties /sip-servlets-test-suite/sipp-scenarios/performance/mss-sip-stack-trying.properties
Modified:
/sip-servlets-test-suite/sipp-scenarios/clustering/prepare-jboss-5-server-for-clustering-failover.sh
 /sip-servlets-test-suite/sipp-scenarios/clustering/start-lb.sh
/sip-servlets-test-suite/sipp-scenarios/performance/prepare-jboss-5-server-for-perf.sh

=======================================
--- /dev/null
+++ /sip-servlets-test-suite/sipp-scenarios/performance/jboss-5-setup/mss-sip-stack-jboss-trying.properties Fri Aug 31 09:25:53 2012
@@ -0,0 +1,29 @@
+gov.nist.javax.sip.LOG_MESSAGE_CONTENT=false
+gov.nist.javax.sip.LOG4J_LOGGER_NAME=gov.nist
+gov.nist.javax.sip.TRACE_LEVEL=LOG4J
+gov.nist.javax.sip.DEBUG_LOG=log/mss-jsip-debuglog.txt
+gov.nist.javax.sip.SERVER_LOG=log/mss-jsip-messages.xml
+javax.sip.STACK_NAME=Mobicents-SIP-Servlets
+javax.sip.AUTOMATIC_DIALOG_SUPPORT=off
+gov.nist.javax.sip.DELIVER_UNSOLICITED_NOTIFY=true
+gov.nist.javax.sip.THREAD_POOL_SIZE=4
+gov.nist.javax.sip.REENTRANT_LISTENER=true
+# setting up the buffer size to reduce retransmissions and avoid loosing messages
+gov.nist.javax.sip.RECEIVE_UDP_BUFFER_SIZE=65536
+gov.nist.javax.sip.SEND_UDP_BUFFER_SIZE=65536
+gov.nist.javax.sip.CONGESTION_CONTROL_ENABLED=false
+gov.nist.javax.sip.AGGRESSIVE_CLEANUP=true
+gov.nist.javax.sip.MAX_FORK_TIME_SECONDS=0
+# prevent DOS attacks
+gov.nist.javax.sip.MAX_LISTENER_RESPONSE_TIME=120
+gov.nist.javax.sip.MAX_MESSAGE_SIZE=10000
+#no cache specified since in non ha mode we don't replicate
+org.mobicents.ha.javax.sip.cache.MobicentsSipCache.standalone=true
+org.mobicents.ha.javax.sip.CACHE_CLASS_NAME=org.mobicents.ha.javax.sip.cache.NoCache
+#gov.nist.javax.sip.MESSAGE_PARSER_FACTORY=gov.nist.javax.sip.parser.chars.CharsMsgParserFactory
+org.mobicents.ext.java.sip.TRANSACTION_FACTORY=org.mobicents.ext.javax.sip.MobicentsTransactionFactory
+org.mobicents.ext.java.sip.SIP_PROVIDER_FACTORY=org.mobicents.ext.javax.sip.MobicentsSipProviderFactory
+org.mobicents.ext.java.sip.SEND_TRYING_RIGHT_AWAY=true
+# set to true so that the stack do more validation on dialog,
+# but won't work on chained applications so false by default
+gov.nist.javax.sip.AUTOMATIC_DIALOG_ERROR_HANDLING=false
=======================================
--- /dev/null
+++ /sip-servlets-test-suite/sipp-scenarios/performance/mss-sip-stack-trying.properties Fri Aug 31 09:25:53 2012
@@ -0,0 +1,22 @@
+gov.nist.javax.sip.LOG_MESSAGE_CONTENT=false
+gov.nist.javax.sip.TRACE_LEVEL=0
+gov.nist.javax.sip.DEBUG_LOG=logs/mss-jsip-debuglog.txt
+gov.nist.javax.sip.SERVER_LOG=logs/mss-jsip-messages.xml
+javax.sip.STACK_NAME=Mobicents-SIP-Servlets
+javax.sip.AUTOMATIC_DIALOG_SUPPORT=off
+gov.nist.javax.sip.DELIVER_UNSOLICITED_NOTIFY=true
+gov.nist.javax.sip.THREAD_POOL_SIZE=64
+gov.nist.javax.sip.REENTRANT_LISTENER=true
+# prevent DOS attacks
+gov.nist.javax.sip.MAX_LISTENER_RESPONSE_TIME=120
+gov.nist.javax.sip.MAX_MESSAGE_SIZE=10000
+# setting up the buffer size to reduce retransmissions and avoid loosing messages
+gov.nist.javax.sip.RECEIVE_UDP_BUFFER_SIZE=65536
+gov.nist.javax.sip.SEND_UDP_BUFFER_SIZE=65536
+gov.nist.javax.sip.AGGRESSIVE_CLEANUP=true
+gov.nist.javax.sip.MAX_FORK_TIME_SECONDS=0
+org.mobicents.ha.javax.sip.CACHE_CLASS_NAME=org.mobicents.ha.javax.sip.cache.NoCache
+gov.nist.javax.sip.AUTOMATIC_DIALOG_ERROR_HANDLING=false
+org.mobicents.ext.java.sip.TRANSACTION_FACTORY=org.mobicents.ext.javax.sip.MobicentsTransactionFactory
+org.mobicents.ext.java.sip.SIP_PROVIDER_FACTORY=org.mobicents.ext.javax.sip.MobicentsSipProviderFactory
+org.mobicents.ext.java.sip.SEND_TRYING_RIGHT_AWAY=true
=======================================
--- /sip-servlets-test-suite/sipp-scenarios/clustering/prepare-jboss-5-server-for-clustering-failover.sh Fri Aug 19 05:38:38 2011 +++ /sip-servlets-test-suite/sipp-scenarios/clustering/prepare-jboss-5-server-for-clustering-failover.sh Fri Aug 31 09:25:53 2012
@@ -10,7 +10,7 @@
 rm -rf $JBOSS_HOME/server/port-2
 rm -rf $JBOSS_HOME/server/port-3

-mvn clean install -f ../../../pom.xml -P jboss-5 -Dnode=all
+#mvn clean install -f ../../../pom.xml -P jboss-5 -Dnode=all

cp setup/jboss-5/mss-sip-stack-jboss.properties $JBOSS_HOME/server/all/conf/mss-sip-stack.properties cp setup/jboss-5/performance/log4j.xml $JBOSS_HOME/server/all/conf/jboss-log4j.xml
=======================================
--- /sip-servlets-test-suite/sipp-scenarios/clustering/start-lb.sh Mon Jul 30 15:04:45 2012 +++ /sip-servlets-test-suite/sipp-scenarios/clustering/start-lb.sh Fri Aug 31 09:25:53 2012
@@ -1,3 +1,4 @@
 rm ./logs/*
-java -Djava.util.logging.config.file=./lb-logging.properties -jar ${M2_REPO}/org/mobicents/tools/sip-balancer-jar/6.1.1.GA-TelScale/sip-balancer-jar-6.1.1.GA-TelScale-jar-with-dependencies.jar -mobicents-balancer-config=lb-configuration.properties -Xms1024m -Xmx1024m -XX:PermSize=128M -XX:MaxPermSize=256M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode +#java -Djava.util.logging.config.file=./lb-logging.properties -jar ${M2_REPO}/org/mobicents/tools/sip-balancer-jar/6.1.1.GA-TelScale/sip-balancer-jar-6.1.1.GA-TelScale-jar-with-dependencies.jar -mobicents-balancer-config=lb-configuration.properties -Xms1024m -Xmx1024m -XX:PermSize=128M -XX:MaxPermSize=256M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode #java -Djava.util.logging.config.file=./lb-logging.properties -jar ${M2_REPO}/org/mobicents/tools/sip-balancer-jar/1.0.2/sip-balancer-jar-1.0.2-jar-with-dependencies.jar -mobicents-balancer-config=lb-configuration.properties -Xms1024m -#Xmx1024m -XX:PermSize=128M -XX:MaxPermSize=256M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode +java -Djava.util.logging.config.file=./lb-logging.properties -jar ${JBOSS_HOME}/sip-balancer/sip-balancer-jar-with-dependencies.jar -mobicents-balancer-config=lb-configuration.properties -Xms1024m -Xmx1024m -XX:PermSize=128M -XX:MaxPermSize=256M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode
=======================================
--- /sip-servlets-test-suite/sipp-scenarios/performance/prepare-jboss-5-server-for-perf.sh Thu Jul 26 07:35:52 2012 +++ /sip-servlets-test-suite/sipp-scenarios/performance/prepare-jboss-5-server-for-perf.sh Fri Aug 31 09:25:53 2012
@@ -1,6 +1,6 @@
 mvn clean install -f ../../../pom.xml -P jboss-5

-cp jboss-5-setup/mss-sip-stack-jboss.properties $JBOSS_HOME/server/default/conf/mss-sip-stack.properties +cp jboss-5-setup/mss-sip-stack-jboss-trying.properties $JBOSS_HOME/server/default/conf/mss-sip-stack.properties cp jboss-5-setup/context-jboss-5.xml $JBOSS_HOME/server/default/deploy/jbossweb.sar/context.xml cp jboss-5-setup/jboss-beans.xml $JBOSS_HOME/server/default/deploy/jbossweb.sar/META-INF/jboss-beans.xml cp jboss-5-setup/metadata-deployer-jboss-beans.xml $JBOSS_HOME/server/default/deployers/metadata-deployer-jboss-beans.xml

Reply via email to