1 / 32

Tools for Measuring System and Application Performance

Tools for Measuring System and Application Performance. Introduction GlancePlus Introduction Glance Motif Glance Character Mode Glance Command-line Xverbosegc HPjmeter and –Xeprof Other Tools. Xverbosegc Understanding the Output By Generating Graphs. Xverbosegc output.

kaveri
Download Presentation

Tools for Measuring System and Application Performance

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Tools for Measuring System and Application Performance • Introduction • GlancePlus • Introduction • Glance Motif • Glance Character Mode • Glance Command-line • Xverbosegc • HPjmeter and –Xeprof • Other Tools

  2. Xverbosegc Understanding the Output By Generating Graphs

  3. Xverbosegc output • Use -Xverbosegc:help for options • Analyzes new, old, and perm spaces • Prints data with no ASCII explanation • Goal: Low intrusion • Use awk script to format data • For example: -Xverbosegc:file=vbgc.out tail -f vbgc.out | awk -f processVerboseGC122.awk • Script available from www.hp.com/java

  4. Xverbosegc - Output FileProcessing • Goal: Understand Garbage Collector and Java Heap Usage • Graphical view of data is essential • Use spreadsheet program to organize data • Graph using built-in graph maker • Use Excel as an example – Steps to follow: • Read Xverbosegc output file • Create graphs • Scatter graphs • X axis is time • Y axis is the value of the metric

  5. Xverbosegc - Output FileOpen Excel

  6. Xverbosegc - Output FileOpen Xverbosegc Output File File:Open

  7. Xverbosegc - Output FileOpen Xverbosegc Output File

  8. Xverbosegc - Output FileOpen Xverbosegc Output File Select All Files

  9. Xverbosegc - Output FileOpen Xverbosegc Output File Select Output File

  10. Xverbosegc - Output FileOpen Xverbosegc File - Format Select “Delimited”

  11. Xverbosegc - Output FileOpen Xverbosegc File - Format Select “Spaces”

  12. Xverbosegc - Output FileOpen Xverbosegc File - Format Finish

  13. Xverbosegc - Output FileData Displayed in Columns

  14. Xverbosegc - Output FileCopy Time Column to First Column 1. Select “C” 2. Right Button over “C” for Menu

  15. Xverbosegc - Output FileCopy Time Column to First Column Copy

  16. Xverbosegc - Output FileCopy Time Column to First Column 1. Right Button over “A” for Menu 2. Paste

  17. Xverbosegc - Output FileCopy Time Column to First Column

  18. Xverbosegc - Output FileSelect Columns to Graph <CTRL> Right Button over “N”

  19. Xverbosegc - Output FileSelect Columns to Graph

  20. Xverbosegc - Output FileStart Chart Wizard Insert:Chart…

  21. Xverbosegc - Output FileChart Wizard – Select Scatter 1. Select “XY (Scatter)” 2. Next

  22. Xverbosegc - Output FileChart Wizard – Data Ranges Next

  23. Xverbosegc - Output FileChart Wizard – Label Chart + Axes Fill in Title and Axis Labels

  24. Xverbosegc - Output FileChart Wizard – Label Chart + Axes

  25. Xverbosegc - Output FileChart Wizard – Remove Legend 1. Select “Legend” 2. Uncheck “Show” 3. Next

  26. Xverbosegc - Output FileChart Wizard – Select Location Finish

  27. Xverbosegc - Output FileGraph Completed

  28. Xverbosegc - Output FileChart Other Metrics • Repeat the process outlined selecting: • Column A Time application has run • Column: B GC Reason F MaxTenuringThreshold G, H, I Before, After, Capacity: Eden J, K, L Before, After, Capacity: Survivor M, N, O Before, After, Capacity: Old P, Q, R Before, After, Capacity: Perm S Time Required for GC

  29. Xverbosegc - Output FileChart Other Metrics

  30. Xverbosegc - Output FileType of GC (B) -1: Scavenge (GC of New Generation only) 0-6: Full GC (collection of all spaces in Java Heap) Reason: 0: Call to System.gc 1: Old Generation full 2: Permanent Generation full 3: Train Generation full 4: Old generation expanded on last scavenge 5: Old generation too full to scavenge 6: FullGCAlot

  31. Xverbosegc - Output FileSave the File as an Excel Workbook Save

  32. Xverbosegc - Output FileSummary • Plotting the data • Is required for successful data analysis • Uncovers patterns of poor Java Heap behavior • Correctly labeled sets of graphs • Permit comparison of heap behavior: • Using different Java Heap options • Under different system loads • Allow correlation with output from other tools • Fosters an understanding of Java Heap behavior

More Related