How Many Performance Metrics is Enough?

I have been asked this question many times and for me it boils down to one idea.

You can never have too much of a good thing!

Running tests usually takes a lot of time and effort. There is planning, setup, executing the test, capturing data, and then processing that data. Having to rerun a test just to get some data that wasn’t captured before is a lot of work. That is why capturing everything up front can save a lot of time and aggravation.

A word of caution though. Watch the disk space while capturing. Make sure the drive won’t be filled with performance data. That could cause the test to fail and cause you to start all over again. Worse, parts of the system could become corrupted and require a complete reinstall and setup of the test.

So what do I monitor? Everything!

When using typeperf, nmon, JMX, database metric snapshots, or anything else; I try to capture much more than I need, but not so much so that I am capturing every piece of data possible. With typeperf, you can literally collect over 2000 different metrics. When pulling data from metric collection of a database, there can be hundreds of data points. Metrics about table spaces, buffer pools, resources, even down to the individual query.

Later I’ll discuss how I process this huge amount of data.

Posted under Performance, Test Data

This post was written by robert.casto on September 3, 2009

Tags: , , ,

Week in Review – 29 August 2009

Announcements

  • HotSpot version 16
  • Support for Ubuntu 8.04 LTS
  • JavaFX performance improvements
  • Java WebStart related improvements for Java Store requirements
  • List of deployment features:

Info


Posted under Performance, Week in Review

This post was written by robert.casto on August 30, 2009

Tags: , , , , ,

Week in Review – 22 August 2009

Info

  • New Java 6 Collections « Caught By Java
    By Asim
    Unlike Deque, List also allows us to insert or delete at any location within the list with a high performance cost. ArrayList has a higher cost for insert and delete operation as compared to ArrayDeque, as the portions of the array must
  • Stress tests rain on Amazon’s cloud
    CRN Australia – Australia
    The analysis simulated 2000 concurrent users connecting to services from each of Net development platform, adapters are being released for Java and PHP

Announcements

  • Justice Dept says OK to Oracle’s $7.4 billion deal for Sun
    By Jordan Robertson
    Clearance by the Justice Department had been held up over questions about the licensing of Java, a programming language that Sun invented that now runs on more than 7 billion electronic devices around the world, including cell phones Sun’s performance had been shaky for nearly a decade before Oracle outbid IBM Corp. for the Santa Clara, Calif.-based company in April. IBM is one of Oracle’s biggest database software rivals, and is a major Sun rival in computer servers.

Posted under Performance, Week in Review

This post was written by robert.casto on August 22, 2009

Tags: , , , , ,

Week in Review – 15 August 2009

Tools

  • Measure Your System Boot Performance With Bootchart
    By Chinmoy
    Measure Your System Boot Performance With Bootchart It aggregates the resource utilization and information of various processes using a script running in the boot up and creates an image through a java application after bootup.
  • 10 Really Useful Server Monitoring Tools
    By Tom
    With these server monitoring tools you need never worry ever again about the performance of your website as absolutely anything can be monitored from speed to security. detailed reports and flexible alerts. This powerful tool, which supports Web 2.0, AJAX and plugin-based applications like Flash and Java, gives you a truly global perspective on how end-users see your site with monitoring agents stationed in the USA, Asia, Africa and Europe. webmetrics
  • Yet another bloody blog: What test technology and tools are you
    By Mark Crowther
    It came as little surprise that the use of Selenium and Ruby was not what most expected as say QTP or Java are more commonplace. This prompted me to think about: What technologies and tools are you using now in the

Info

  • A Few Speed Improvements – Blog – Stack Overflow
    By Jeff Atwood
    Anyway, we believe that performance is a feature, and we’re serious about the Stack Overflow family of sites being as fast as we can make them. We continue to revisit our performance every couple of months and try to improve it a little
  • Some Factors Driving UI Performance Analysis « Seven Seconds
    Ive decided to put some initial thoughts about factors that should be used by SPE’s for recommending a UI Performance Analysis project Ill briefly summarize
  • Java World: Performance Tuning in J2EE Applications
    By Pinaki
    Performance Tuning in J2EE Applications When it comes to enterprise scale Java applications there maybe severe performance degradations due to software architecture design flaws and application Infrastructure setup.
  • Carsonified » Five Things That Will Kill Your Site
    By Jonathan Howell
    This involves performance testing your application in advance. Set a level for what you consider to be an acceptable response time, and ramp up simulated users carrying out typical tasks until you exceed that threshold. In theory modern garbage collected languages like Java and C# make memory leaks much less likely than the direct memory allocation of C and C++, but they are still possible: watch for memory allocated by static classes, caches that are not cleared,
  • Write high performance Java data access applications Part 3 Data
    pureQuery is a high-performance Java data access platform focused on simplifying Performance monitoring You can use hooks to measure API calls runtime
  • J2EE and Oracle Performance Musings: SQL Server Performance Snapshots
    By Chris Adkin
    When used with Catalog view and Performance Monitor counters, DMVs can provide the same functionality as Oracle10g’s Automatic Workload Repository (AWR). However, when working with SQL Server 2005, much of the intended purpose of
  • Java Memory Problems Performance, Scalability and Architecture
    By Alois Reitbauer
    Memory problems in Java applications are manifold und easily lead to performance and scalability problems. Especially in J EE applications with a high number of parallel users memory management must be a central part of the application

Posted under Performance, Week in Review

This post was written by robert.casto on August 15, 2009

Tags: , , , , , , ,