Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JVM Performance Evaluation

 
Venod Naik
Greenhorn
Posts: 1
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I am planning to do performance evaluation of Java virtual machine for a variety of operating systems (Windows,Unix,Solaris etc).

The ideas I have are running code which use different aspects of the VM like Memory allocation, invoking Garbage collector . . .

Any further ideas/links about how to go about this further would be highly appreciated.

Thanks,
Venod
 
Nitesh Kant
Bartender
Posts: 1638
IntelliJ IDE Java MySQL Database
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the intention of this evaluation?

  • Are you comparing two JVM implementations?
  • You want to evaluate your application's performance on different JVM's?
  • You are trying to evaluate on which OS your application performs better?

  •  
    Naresh Talluri
    Ranch Hand
    Posts: 115
    • Likes 1
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    If we want to see the application performance how can we test....
     
    Nitesh Kant
    Bartender
    Posts: 1638
    IntelliJ IDE Java MySQL Database
    • Likes 2
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Originally posted by Naresh Talluri:
    If we want to see the application performance how can we test....


    Application performance has many facets like throughput, latency, concurrency, etc.
    Throughput is the number of requests the application can process per second.
    Latency is the time taken to complete one request.
    Concurrency is how many concurrent clients can an application support.

    In addition to the above, people may like to find out as to how much memory does an application take.

    So, it depends on what is it that you want to test your application on.
    There are many profiling tools available like JProfiler using them you can see how much memory your application is using. How much time each class is consuming to process one request, etc.
    You can use Jmeter to get performance numbers for applications.

    P.S: The tools I have mentioned above are in no way the ultimate tools for usage but the ones that I have come across. Other ranchers may be able to suggest better alternatives.
     
    tu nguyen
    Greenhorn
    Posts: 2
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Dear Friends!
    i hava issue same Venod Naik, how i know start? my friends show me.
     
    Ulf Dittmer
    Rancher
    Posts: 42968
    73
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    As was mentioned earlier, "application performance" is a completely fuzzy concept, so you need to be much more specific about what you want to test. And as Nitesh mentioned, for some of those numbers, Apache JMeter may be a good way to get started.
     
    tu nguyen
    Greenhorn
    Posts: 2
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Thanks Ulf Dittmer!, that right! very fuzzy.
    i have a idea, setup JVM on 3 other OS (ubunto, window, and ..) then evaluation one program runing that, but not know what program ? and how can i test?
    about Apache JMete you told me, please show detail


     
    Ulf Dittmer
    Rancher
    Posts: 42968
    73
    • Likes 1
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    The JMeter site has lots of documentation, that's where you should start.
     
    Dmitri Tikhanski
    Ranch Hand
    Posts: 40
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    I believe that you need to use a performance testing tool to run the same benchmarking code snippets across different JVM implementations and operating systems. Performance testing tool will collect metrics so you will be able to analyze differences if any and use a profiling tool to get to the bottom of them.

    Currently there are 3 Java-based free and open source performance testing solutions which can execute arbitrary code and collect necessary metrics, they are:

  • Grinder
  • Gatling
  • Apache JMeter


  • I think that Open Source Load Testing Tools: Which One Should You Use? guide will help you to choose the right tool.
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic