Nisha, What server are you running? And what version? (Tomcat, JBoss, Jetty, Apache Server, IIS, etc)
I don't know if everyone will agree with me. I suggest you to use JDK 7 and JBoss 7.1.1.Final. In production environment is recommended using an Apache Server in front and configure a reverse proxy in Apache Server to your application server instance. Java GC Tuning - http://www.oracle.com/technetwork/java/javase/gc-tuning-6-140523.html There are many references to Java GC Tuning on the wild, and some testimonials that are worth seeing (search in Google for java garbage collector tuning). Regardless of which application you'll run on this server, but I suggest you to try creating 2 virtual servers with 6GB each and configure a cluster (load balance). Maybe it'll be more scalable than using only one server with huge amount of memory. JBoss AS 7 Documentation - https://docs.jboss.org/author/display/AS71/Documentation (read the High Availability Guide) Visual VM is one of the Java profilers available. It describes memory usage, cpu consuming, process time consuming per class/method. It'll help you to find application bottlenecks. http://visualvm.java.net/docindex.html http://docs.oracle.com/javase/7/docs/technotes/guides/visualvm/applications_local.html http://java.dzone.com/articles/profile-your-applications-java Regards, Flavio Cysne. 2012/4/11 Nisha G. <[email protected]> > Hey Thanks Flávio for such a brief information. > > Actually our performance Server has RAM=16 GB and its a 64 bit OS. Its a > Windows server 2008 R2 and we are looking to enhance the performance of our > product. > > As you mentioned that I need to consider the various factors including JVM > GC perf tuning etc. Being a non-techie I never did such things; if it is > possible for you could you please suggest me some more informaiton on how > to achieve/look into those different factors to increase the performance of > our Server. (Suggest me some links if you can.) > > Thanks a ton for great information. > > Regards, > Nisha > > > On Wed, Apr 11, 2012 at 5:19 PM, Flavio Cysne <[email protected]> > wrote: > > > First, use -XX:MaxPermSize instead of -XX:PermSize. > > > > If this JAVA_OPTS is from your server (not from jmeter JAVA_OPTS shell > > variable), it'll affect the performance of your server, but it could be > for > > good or for bad. If your box have much more than 6GB, say 10GB or more, > and > > you're using a 64-bit JVM, it'll affect for good. If is less than this, > > it'll be in trouble. > > > > Remember that SO, the most of them, needs at least 1GB to work and that > > free memory to allow it creating new thread hooks (1GB is much more than > > it'll need). With these points in mind you'll need at least 2GB of free > > memory. So, 10GB (6GB to JVM + 4GB to SO) will be very good in your case. > > > > Other points have to be considered when testing the performance of your > > server. JVM GC configuration tuning, Server specific configuration > tuning, > > application bottlenecks, etc. Try to use a profiler, like Visual VM, to > > monitor server and JVM behavior when load testing them. Try to change one > > configuration at a time and take note of the performance changes. This > way > > you'll know what configurations are the best to your case. > > > > Hope it helps you. > > Flávio Cysne > > > > 2012/4/11 Nisha G. <[email protected]> > > > > > Hello All, > > > > > > I am seeking a suggestion on one scenario... > > > When I performed my tests with JMeter on Performance Server (having > > > JAVA_OPTS=%JAVA_OPTS% -Xmx2048m -XX: PermSize=1024m) and after several > > > attempts we concluded that our Product(Developed on Java platform) > donot > > > support more than 150 Active Users doing different transactions with > > > different login credentials. > > > > > > Query: If I update the JVM settings from 2GB to 4GB or more (i.e. > > > %JAVA_OPTS% -Xmx4096m -XX: PermSize=2048m). Will it affect the above > > > performance numbers. (Will it be able to support more i.e. 150+ number > of > > > concurrent active users on server) ? > > > > > > Please prove me wrong as I think it will not affect the performance. > > > > > > Thanks, > > > Nisha > > > > > >
