Tools for measuring system and application performance
This presentation is the property of its rightful owner.
Sponsored Links
1 / 32

Tools for Measuring System and Application Performance PowerPoint PPT Presentation


  • 91 Views
  • Uploaded on
  • Presentation posted in: General

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.

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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


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

Understanding the Output

By Generating Graphs


Xverbosegc output

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


Xverbosegc output file processing

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


Xverbosegc output file open excel

Xverbosegc - Output FileOpen Excel


Xverbosegc output file open xverbosegc output file

Xverbosegc - Output FileOpen Xverbosegc Output File

File:Open


Xverbosegc output file open xverbosegc output file1

Xverbosegc - Output FileOpen Xverbosegc Output File


Xverbosegc output file open xverbosegc output file2

Xverbosegc - Output FileOpen Xverbosegc Output File

Select All Files


Xverbosegc output file open xverbosegc output file3

Xverbosegc - Output FileOpen Xverbosegc Output File

Select Output File


Xverbosegc output file open xverbosegc file format

Xverbosegc - Output FileOpen Xverbosegc File - Format

Select “Delimited”


Xverbosegc output file open xverbosegc file format1

Xverbosegc - Output FileOpen Xverbosegc File - Format

Select “Spaces”


Xverbosegc output file open xverbosegc file format2

Xverbosegc - Output FileOpen Xverbosegc File - Format

Finish


Xverbosegc output file data displayed in columns

Xverbosegc - Output FileData Displayed in Columns


Xverbosegc output file copy time column to first column

Xverbosegc - Output FileCopy Time Column to First Column

1. Select “C”

2. Right Button over “C” for Menu


Xverbosegc output file copy time column to first column1

Xverbosegc - Output FileCopy Time Column to First Column

Copy


Xverbosegc output file copy time column to first column2

Xverbosegc - Output FileCopy Time Column to First Column

1. Right Button over “A” for Menu

2. Paste


Xverbosegc output file copy time column to first column3

Xverbosegc - Output FileCopy Time Column to First Column


Xverbosegc output file select columns to graph

Xverbosegc - Output FileSelect Columns to Graph

<CTRL> Right Button over “N”


Xverbosegc output file select columns to graph1

Xverbosegc - Output FileSelect Columns to Graph


Xverbosegc output file start chart wizard

Xverbosegc - Output FileStart Chart Wizard

Insert:Chart…


Xverbosegc output file chart wizard select scatter

Xverbosegc - Output FileChart Wizard – Select Scatter

1. Select “XY (Scatter)”

2. Next


Xverbosegc output file chart wizard data ranges

Xverbosegc - Output FileChart Wizard – Data Ranges

Next


Xverbosegc output file chart wizard label chart axes

Xverbosegc - Output FileChart Wizard – Label Chart + Axes

Fill in Title and Axis Labels


Xverbosegc output file chart wizard label chart axes1

Xverbosegc - Output FileChart Wizard – Label Chart + Axes


Xverbosegc output file chart wizard remove legend

Xverbosegc - Output FileChart Wizard – Remove Legend

1. Select “Legend”

2. Uncheck “Show”

3. Next


Xverbosegc output file chart wizard select location

Xverbosegc - Output FileChart Wizard – Select Location

Finish


Xverbosegc output file graph completed

Xverbosegc - Output FileGraph Completed


Xverbosegc output file chart other metrics

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


Xverbosegc output file chart other metrics1

Xverbosegc - Output FileChart Other Metrics


Xverbosegc output file type of gc b

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


Xverbosegc output file save the file as an excel workbook

Xverbosegc - Output FileSave the File as an Excel Workbook

Save


Xverbosegc output file summary

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


  • Login