1833785 Members
2108 Online
110063 Solutions
New Discussion

Re: Performance Viewing

 
Jeff Hagstrom
Regular Advisor

Performance Viewing

We just added to processors to K460/9000. How can view the performance or the workload of all 4? Is there any way to force the box distribute the workload evenly over the 4 processors?
8 REPLIES 8
Pete Randall
Outstanding Contributor

Re: Performance Viewing

Jeff,

In a multi-processor system, the top command will show individual CPU's usage. Glance also has a CPU by processor screen. As far as forcing distribution - I don't think so - the system should distribute automatically.

Pete

Pete
Patrick Wallek
Honored Contributor

Re: Performance Viewing

You can also use sar to look at each CPUs performance.

Do a:

# sar -uM 5 5

to look at the performance for each CPU for 5 repetitions every 5 seconds.

Do a 'man sar' for more information.
Rainer von Bongartz
Honored Contributor

Re: Performance Viewing

There should be no action necessary to force distribution evenly.
The system is doing this by default.

sar -u -M should give you the relevant performance data

Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Chuck J
Valued Contributor

Re: Performance Viewing

I don't think their is an OS setting that allows you to tweak the CPU load sharing of HP-UX. HP-UX does it automitically. I've heard you can write your own apps to utilise different CPU's.

Chuck J
Ashwani Kashyap
Honored Contributor

Re: Performance Viewing

You have to use HP PRM ( Process Resource Manager ) if you want ot force abd distribute the load evenly on all processors . PRM also has other cool features but is priced heavily and is licensed per cpu . But you might want to take a look at it .
Sritharan
Valued Contributor

Re: Performance Viewing

Hi,

How can view the performance or the workload of all 4?
- you can use the Glance Plus to monitor the cpu in gui & character mode
SAM -> Performance Monitor

- you also can use the sar command to get the usage of the cpus. check out #man sar

- you also can use top command to check the usage for all the cpu. check out #man top


Is there any way to force the box distribute the workload evenly over the 4 processors?
Yes,
you can use the HP Process Resource Manager,

check out this site for more info

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B8733-90007/B8733-90007_top.html&con=/hpux/onlinedocs/B8733-90007/00/00/1-con.html&toc=/hpux/onlinedocs/B8733-90007/00/00/1-toc.html&searchterms=resource%7cmanager%7cProcess&queryid=20021104-205809


Thanks ,Regards & Good Luck !!
Sri
Known is a drop...unknown is an ocean -> quote from a movie
MANOJ SRIVASTAVA
Honored Contributor

Re: Performance Viewing

Hi


The easiest way is to do a sar -m , however if u ahve glance ( a trial 15 days version si avaialable ) which can give u the display at that moment , in case you are lok ing for a historical stuff then u need to ahve perf view installed which can be tuned to give the o/p cpu wise . there are also third party tools like sarcheck.com which can be useful i clooecting data over a period of time ( they use simple sar and ps commands to colelct data however the o/p is in html format in case u are intrested in such reports )


Manoj Srivastava
T G Manikandan
Honored Contributor

Re: Performance Viewing

The unix system should do that automatically for you(distributing the processes to the CPU's).

I would prefer going for glance to monitor the CPU usage.
Glance has all the reports for the processor as well as the explanations for them.


Also using top should give you the CPU results.

Find out the top run processesi.e the processes that are catching the CPU for a long time.
This should give you a hint for the startup for the tuning of the system.

Thanks