Example 1 HP Caliper Advisor Report

===========================================================================

HP Caliper 4.3.0 Advisor Report for my_app

===========================================================================

Analysis Focus

 

Executable:

/tmp/my_app

Last modified:

August 15, 2004 at 03:10 PM

Processor type:

Itanium2 9M

Processor speed:

1599 MHz

OS version:

HP-UX 11.23

Performance Databases

/home/me/.hp_caliper_databases/cpu - March 23, 2005 at 11:17 AM /home/me/.hp_caliper_databases/fprof - March 23, 2005 at 07:52 PM

Rule Files

default - Default Caliper Advisor rules @ /opt/caliper/rules

---------------------------------------------------------------------------

Index Class Analysis

---------------------------------------------------------------------------

23.9 cpu

Function profile [cpu_fprof_1]

 

The following functions account for 23.9% of the CPU cycles

 

used by the application. Improving the algorithm(s) used in

 

these routines and/or increasing the compiler optimization

 

level can

improve performance.

 

11.9%

compare_items

 

8.2%

search_dbase

 

3.8%

new_item_insert

Use the following Caliper command to get a source listing of the 'hot spots' in these routines:

caliper report fprof

---------------------------------------------------------------------------

16.6memory ITLB misses [mem_itlb_general]

The percentage of ITLB misses (16.6%) is higher than normal. This may indicate a poor setting for the virtual memory instruction page size.

Try adding "+pi 4M" to the application's link command.

---------------------------------------------------------------------------

*Note: 1 piece of advice was not printed due to cutoff limits and/or selection criteria.

---------------------------------------------------------------------------

[Minimum index: 5.0, minimum count: 5, maximum count: 15]

---------------------------------------------------------------------------

Steps in Using the Advisor

The Advisor is part of an iterative process of building, measuring, understanding, and tuning an application's performance, as shown in Figure 13 (page 78).

Steps in Using the Advisor 77