• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

JVM Performance Evaluation

 
Greenhorn
Posts: 1
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 1638
IntelliJ IDE MySQL Database Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?

  •  
    Ranch Hand
    Posts: 115
    • Likes 1
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    If we want to see the application performance how can we test....
     
    Nitesh Kant
    Bartender
    Posts: 1638
    IntelliJ IDE MySQL Database Java
    • Likes 2
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • 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.
     
    Greenhorn
    Posts: 2
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Dear Friends!
    i hava issue same Venod Naik, how i know start? my friends show me.
     
    Rancher
    Posts: 43081
    77
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • 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
      Number of slices to send:
      Optional 'thank-you' note:
    • 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: 43081
    77
    • Likes 1
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    The JMeter site has lots of documentation, that's where you should start.
     
    Ranch Hand
    Posts: 49
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • 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.
     
    Don't play dumb with me! But you can try this tiny ad:
    Gift giving made easy with the permaculture playing cards
    https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
    reply
      Bookmark Topic Watch Topic
    • New Topic