General
cancel
Showing results for 
Search instead for 
Did you mean: 

Help needed to improve the performance on HP

 
Highlighted
Frequent Advisor

Help needed to improve the performance on HP

Hi,

I thought this is the right forum with many experienced guys to pose this question of the general good program techniques to have a program with very good performance. Please ignore if this is not the right forum for this kind of topic

I was particularly interested in the performance improvement of my application on HP.

The application is developed mainly using C/C++ and its a X/Motif application also using OpenGL for 3D graphics

The application is made of an executable and lots of shared libs


Can you please suggest or provide me some pointers which would help me improve the performance and the memory footprint of the application on HP. The application is really performaning very bad on HP. The same code works very fine on Linux.

I was wondering if I am missing some tips and tricks of tuning the code to have a better performance on HP, even the memory consuption is bad on HP compared to Linux

With all these things , I feel I need to tune my code slighlty for HP, can anyone guide me please

Of course the application is 32bit

TIA
Satya
13 REPLIES 13
Highlighted
Highlighted
Honored Contributor

Re: Help needed to improve the performance on HP

Highlighted
Frequent Advisor

Re: Help needed to improve the performance on HP

Hi,

I was looking more of a tuning (tricks/tips/techniques) in the application code, than the kernal paramters. The last 2 links helps me to an extent on that. Is there something like that for my OpenGL implementation as well

TIA
Satya
Highlighted
Honored Contributor

Re: Help needed to improve the performance on HP

http://docs.hp.com/en/5990-6739/ch12s02.html
It's kind of fun to do the impossible
Highlighted
Exalted Contributor

Re: Help needed to improve the performance on HP

Shalom,

The system itself needs to be tuned.

Java tuning:
http://h21007.www2.hp.com/portal/site/dspp/PAGE.template/page.document?ciid=6508a8ea6ce02110a8ea6ce02110275d6e10RCRD

Hints:
http://h20331.www2.hp.com/Hpsub/cache/286030-0-0-225-121.html

tools:
http://h20331.www2.hp.com/Hpsub/cache/286022-0-0-225-121.html
http://www.hpux.ws/?p=6

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Highlighted
Honored Contributor

Re: Help needed to improve the performance on HP

Well, your biggest gotcha is "Of course the application is 32bit "

HP-UX is natively 64 bit.

What kind of server are you running on - parisc or Itanium? also, what OS?

32 bit code on Itanium traditionaly has poor performance...

Your biggest performance gain will come from compiling the app on 64 bit.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Highlighted
Frequent Advisor

Re: Help needed to improve the performance on HP

Hi,

First, thank you very much for the inputs/pointers.
I have got hold of the Code Advisor and the caliper. I need to see how I can improve my program using these tools.

coming to moving to 64bit, I guess its not happening soon. ( I agree we will be in this limitations of 32bit) but I guess thats not in my hands. The application is built and used on PA-RISC machines

and as far as tuning the system itself, I need to convince the customer and also I would face the eventual question that when similar applications are working fine, why we need to tune specifically for our application.

Thanks and Regards
Satya

Highlighted
Honored Contributor

Re: Help needed to improve the performance on HP

when you say it is slower, how much slower is it? what HW is the linux machine running on? modern intel/linux machines _are_ faster then parisc, so it might be normal unless the speed difference is just way to big.
Highlighted
Acclaimed Contributor

Re: Help needed to improve the performance on HP

>Geoff: Well, your biggest gotcha is "Of course the application is 32bit"
>HP-UX is natively 64 bit.

These two statements are unconnected and very likely have little to do with Satya's problems.
HP-UX runs 32 bit applications with no degradation.

>32 bit code on Itanium traditionally has poor performance...

This is FUD. Perhaps you are confusing executing X86 instruction set?
HP-UX runs 32 bit IPF applications at full hardware speeds.

>Your biggest performance gain will come from compiling the app on 64 bit.

Not on HP-UX, it may slow down. Unless you can take advantage of using the large address space.