1834140 Members
2642 Online
110064 Solutions
New Discussion

performance

 
SOLVED
Go to solution
vaman
Frequent Advisor

performance

In hpux 11 .0 What will be your action point , if you found CPU usage is too high
vaman kulkarni
6 REPLIES 6
John Poff
Honored Contributor

Re: performance

Hi,

It all depends on your definition of too high.

JP
Martin Johnson
Honored Contributor

Re: performance

It is not so much the CPU utilization usage that worries me, it's the run queue length. CPU utilization can be at 100%, but if the run queue is at 0, it is fine. I'm getting the best bang for my buck.

Run queue is the number of jobs that are waiting to use a CPU. That waiting adds to response time, which is a bad thing.

HTH
Marty
Henry Chua
Super Advisor

Re: performance

Interesting.. but what is the command that checks the "queue lenght"
Hein van den Heuvel
Honored Contributor

Re: performance


uptime (as a crude starting point).

ps -ef ... to see which process is collecting cpu.

top to see which process is collecting cpu.

application knowledge/common-sense to understand what that process might be doing.

process coverage analyzer to see where the busy process is burning time (prospect,...)

truss, to see which system calls are involved.

Hein.
Bharat Katkar
Honored Contributor
Solution

Re: performance

HI Vaman,
It doesn't mean that system is performing bad if CPU utilisation is high on the other hand it is good to see them utilised to their capacity but what matters is the run queue as already said by martin.
You can go thr' sar -q output to monitor the same.
As far as performance is concerned find attached the doc which talks about tuning the System for Best Performance and the necessary attributes associated with it.

Hope that helps.
Regards,

You need to know a lot to actually know how little you know
Bharat Katkar
Honored Contributor

Re: performance

Sorry forgot to attach the doc.......here it is!!
You need to know a lot to actually know how little you know