Discussions

Performance and scalability: JVM Parameters

  1. JVM Parameters (4 messages)

    What jvm parameters can cause increased performance/scalability...

    Threaded Messages (4)

  2. JVM Parameters[ Go to top ]

    What jvm parameters can cause increased performance/scalability...
    It would have been great if I can say "java -DHIGH_PERFORMANCE=true -DHIGH_SCALABILITY=true. But unfortunately it is highly application specific. One needs to analyze the specific app via a good tool (JProbe, OptiizeIt, HPJMeter...) to get a hang of it.
  3. You can find some very useful information here (assuming you're using a Sun 1.4.x JVM:
    Turbo-charging Java HotSpot Virtual Machine, v1.4.x to Improve the Performance and Scalability of Application Servers
  4. Look for these params[ Go to top ]

    Heap size: when increased would allow higher number of objects to be created and is useful when there is a high load or complex logic requiring # of object creation

    Thread count: Again depends on the number of concurrent transactions being processed

    Set up execute queues: If you know you want to prioritize certain beans etc, you can set up execute queues for the same.

    These are just sample. There is hardware tuning also that can be looked at as well as application server tuning. Your application requirements, usage define this.

    A good start is to simulate the load by using a loadRunner tool and then analyzing the data using a profiler like Jprobe for memory usage, heap usage, garbage collection activity etc.
  5. Java Performance Tuning[ Go to top ]

    If you are looking to improve performance, try JView 2004 at http://www.devstream.com. It's a lot easier to use then JProbe, and has less overhead as it's written in native code.