Operating System - HP-UX
1752782 Members
5873 Online
108789 Solutions
New Discussion юеВ

Application Profiling/Performance Optimization on HPUX

 
Vishwanath RN
Occasional Contributor

Application Profiling/Performance Optimization on HPUX

Hi,

I got an inquiry from a customer on performance tuning of a C++ application on HP-UX. Could anyone here point to some of the profiling tools (for monitoring performance at class, method levels) and identify performance bottlenecks within the code?

Regards,
Vishwa
5 REPLIES 5
Dennis Handly
Acclaimed Contributor

Re: Application Profiling/Performance Optimization on HPUX

If this is Integrity, there is caliper. At the system level, there is glance.
rick jones
Honored Contributor

Re: Application Profiling/Performance Optimization on HPUX

And to a lesser degree, tusc might be considered a tool for tuning by showing if there are ecessive or redundant system calls being made.
there is no rest for the wicked yet the virtuous have no pillows
dirk dierickx
Honored Contributor

Re: Application Profiling/Performance Optimization on HPUX

the best profiler and debugging tool for c/c++ is valgrind.

http://valgrind.org/info/tools.html#cachegrind

don't use it on production though, because it realy slows down your application when profiling, but you do get a lot of info from it. ideal during the development phase!
rick jones
Honored Contributor

Re: Application Profiling/Performance Optimization on HPUX

Dirk - valgrind et al are quite nice, I've used them from time to time with netperf. However, since the context is HP-UX, and there is (to my knowledge) no HP-UX port (PA-RISC or Itanium) of valgrind, it won't help Vishwanath all that much :)
there is no rest for the wicked yet the virtuous have no pillows
dirk dierickx
Honored Contributor

Re: Application Profiling/Performance Optimization on HPUX

hmm, indeed, i never use c on HPUX so i was not aware this excellent tool isn't ported.

still, it depends on how portable his C code is, could be developed on linux using valgrind and then compiled on hpux.

who knows...