Pivot Point

October 21, 2009

esxtop Analysis With esxplot

Filed under: Uncategorized — Tags: , , — Scott @ 2:02 pm

esxtop remains a popular performance troubleshooting tool because of its fine granularity, expansive counter list, and support for interactive and off-line analysis. The biggest problem with esxtop is the huge CSV files generated in batch mode.  The output is so large that Excel is unable to open the file and Perfmon can take hours to do so. But now we have a better way to manage esxtop batch files.

A colleague of mine at VMware, Geoff White, wrote a Python-based tool for esxtop batch file analysis. His tool, dubbed esxplot, provides a graphical interface to the data generated by esxtop’s batch mode. esxplot provides search capabilities to find relevant counters, can plot different counters on the same graph, and does not suffer from the size limitations of Excel and Perfmon.

Geoff has graciously provided unsupported access to this tool’s beta version (version removed — see update below) for my readers. Please test esxplot much as possible and comment here with your observations. We would like to know of any bugs you discover as well as ideas for improvement.

The esxplot package comes with Windows and Ubuntu binaries as well as the Python source. The binaries will run without need of additional libraries or tools.  But if you decide to use the Python script, as I have done on MacOS, you will need to verify the following:

  1. Ensure that you have Python 2.6 or greater, but not Python 3.x.
  2. esxplot uses wxPython, which you can download and install from here.
  3. esxplot also requires NumPy, available here.

A manual is included in the package but I think you should find the interface simple and intuitive.  Here are a few tips to get you going:

  • Load an esxtop batch file by specifying it on the command line or through File->Import->Dataset.
  • Using the counter navigator in the lower left corner, navigate to the counter of interest.  For instance, to view percent ready you would first expand the host  (use the triangle to the left of the host name), then expand “Group Cpu (GID:VM)”, then select “% Ready”.  The graph will be displayed on the right.
  • You can quickly find counters by entering a query search in the middle of the left panel.  This creates a new entry in the counter navigator that contains only counters whose name matches the expression you entered.  For instance, entering “ready” will create a counter query that contains all ready times in the batch file.

Please let us know what you think of this wonderful tool.

Update: 1/13/09

esxplot version 1.0 was released on 1/13/09. See the updated blog article for information on that release and continued discussion on this tool.

14 Comments

  1. this looks very promising. esxtop logs can be a pain.

    one thing i’d really like to see (feature request) is the ability to combine several logs in one view. every server logs it’s own counters but several of them write to the same LUNs. if we could combine the counters from several hosts for one LUN it would truly be a killer app!

    Comment by hbr — October 22, 2009 @ 12:28 am

    • This is a feature planed for the next release after 1.0. The current app does everything by “brute force”, i.e. it loads all of the data into memory, which is not a problem for the manipulation of the data but is a problem for the GUI widgets, which start to slow down considerably under MS windows, when there are 150K elements in the tree control widget, some refactoring is required to be more “lazy” laying out the GUI. Stay tuned.

      Comment by GeoffWhite — October 22, 2009 @ 9:20 am

  2. hi,
    im using a win 64 to load the tool..after loading the dataset, what query do i need to put??

    Comment by Itzik — October 22, 2009 @ 9:45 am

  3. Itzik,

    I have updated the blog entry with some instructions that address your question. In short, you do not need to ever enter a query.

    However, should you get tired of searching through the thousands of counters that esxtop can provide, you can limit the counter list in the query box by specifying a counter of interest.

    Scott

    Comment by Scott — October 22, 2009 @ 9:58 am

  4. Awesome tool! Looking forward to version 1.0 with ability to load multiple CSV files. Let me know if you need help testing or applying rusty PHP/Perl/Ruby skills to help out. :)

    Thanks!

    Sean Clark – vSeanClark

    Comment by Sean Clark — November 11, 2009 @ 12:46 pm

    • Sean,
      Thanks. 1.0 should be out around Thanksgiving. It has a few enhancements, you can plot up to 16 plots on a graph, you can close a dataset and open another without exiting the tool, metric categories that have all zero data are greyed out at the top level so you don’t have to drill down only to discover that all of the metrics are zero.

      Being able to open multiple data sets at one time will require some refactoring and I’m not going to hold up 1.0 for that, it is planned as the first major feature for 1.1, due out around early 2010.

      Comment by GeoffWhite — November 11, 2009 @ 1:35 pm

  5. [...] esxtop Analysis With esxplot [...]

    Pingback by RTFM Education » Blog Archive » From Scott Drummand’s - vpivot.com — December 9, 2009 @ 3:49 am

  6. Any news on the 1.0 version ?

    Comment by Stephan — December 22, 2009 @ 9:17 am

    • There is a 1.0 version.
      I am working on trying to get it to the outside world.

      Comment by GeoffWhite — December 22, 2009 @ 10:02 am

  7. Look forward to the update – the tool is very helpful and gets round the problems with Excel and Perfmon.

    Thank you for all your work.

    Comment by Rob Ashworth — December 23, 2009 @ 2:50 am

  8. Great tool! Look forward to version 1.0
    Dave

    Comment by Dave Convery — December 31, 2009 @ 10:52 am

  9. [...] to announce that Geoff White has completed the first official release of esxplot, version 1.0.  In an earlier blog article we discussed a beta version of this product and the response from VMware’s customers has been [...]

    Pingback by esxplot 1.0 Released « Pivot Point — January 13, 2010 @ 1:12 pm

  10. Version 1.0 of esxplot has been released. Please see the updated blog article for information and to comment on this tool:

    http://vpivot.com/2010/01/13/esxplot-1-0-released/

    Comment by Scott — January 13, 2010 @ 1:18 pm

  11. [...] Scott Drummonds of vPivot.com posted on ESXPlot, a great tool that is far more efficient and less aggravating than Perfmon for working with [...]

    Pingback by VMware VMTN Doc 9279: Interpreting ESXTOP Statistics « WJPatton.com — February 1, 2010 @ 9:08 pm


RSS feed for comments on this post. TrackBack URI

Sorry, the comment form is closed at this time.

Blog at WordPress.com.