Operating System - HP-UX
1846588 Members
2142 Online
110256 Solutions
New Discussion

Re: Huge CPU usage on multithread processes

 
inactive account
Frequent Advisor

Huge CPU usage on multithread processes

My applications use a very large amount of cpu on HPUX.
THey consist on different multi-threads processes communicating with each other en sockets.
When trying to run a benchmark I take all CPU. The same application on LINUX Pentium4 box takes 5 % of the CPU.
I think that maybe the loss is on the way HPUX deals with POSIS PTHREAD implementation.
Does anybody have informations about tuning the threads on HPUX ?

Thanx to anyboby that can help!
4 REPLIES 4
harry d brown jr
Honored Contributor

Re: Huge CPU usage on multithread processes

John Bolene
Honored Contributor

Re: Huge CPU usage on multithread processes

You need to tell us more about your application and the machines that you ran these tests on.

The clock speed on HP Unix machines is slower than runs on PC's, but HP gets more performance out of the same clock cycle.

I will have to relate a few cpu tests I have run myself. These involve how long it takes to run a seti chunk on each cpu. Seti processing is 99.9% cpu related and only uses one processor since it is not multi-threaded.

200 Mhz MMX - 40 hours
120 Mhz C110 - 30 hours
500 Mhz Pentium - 11.5 hours
800 Mhz celeron - 12 hours
1.3G AMD - 7.5 hours
1.4G AMD - 7 hours
875 Mhz superdome - 4.5 hours
2400 AMD - 3 hours
2700 AMD - 2.6 hours

So if you are running Linux on a PC with a processor > 2.1G, you will get faster run time than on a superdome. The superdome has the edge in the number of processors it can run and the amount of I/O it can connect to.
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
inactive account
Frequent Advisor

Re: Huge CPU usage on multithread processes