2 Replies Latest reply on Jul 16, 2012 1:36 PM by gboro54

    JBoss 7.1 JVM Tuning

    gboro54 Novice

      I am willing to claim I am no JVM tuning expert. I am running into a situation where performance on my local development envrionment with no tuning(except head space increase) is out performaing a mroe powerful box with JBM tunning. Here are my settings for the QA environment we are testing with. I am hoping an expert can help me solidify some of these settings.



      #Script to start JBoss 7.1.CR1



      JAVA_OPTS="-server -Djava.awt.headless=true -Xms6144m -Xmx6144m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m -XX:MaxPermSize=256m  -XX:SurvivorRatio=14 -XX:MaxTenuringThreshold=15 -Xss128k

      -XX:+AggressiveOpts -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled -XX:+UseBiasedLocking -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dsun.lang.ClassLoader.allowArraySyntax=true

      -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"


      export JAVA_OPTS=$JAVA_OPTS

      nohup bin/standalone.sh  -c stagging.xml -b <IP> -Djboss.bind.address.management=<IP> &