1834804 Members
2611 Online
110070 Solutions
New Discussion

99% CPU usage

 
SOLVED
Go to solution
CD Ajaykumar
Occasional Contributor

99% CPU usage

Hi,

I am working in a Digital UNIX (V 4.0D) Alpha server and I have noticed that my application process at times takes 99% CPU time (not always). I have analyzed the application code thoroughly and verified that there are no code deficiencies/costly operations.

What are the other areas where I have to look into, to check for this problem?

Please refer to the attached file for 'ps auxw' output.
Thanks
Ajay
2 REPLIES 2
harry d brown jr
Honored Contributor

Re: 99% CPU usage


The one thing about cpu intensive jobs: if it's (the cpu) available, it'll use it.

Is it waiting on IO or is it spinning waiting for IO to occur?

Does it occur when no one is using the application, or only when user demands are high?

live free or die
harry
Live Free or Die
Tom Jackson
Valued Contributor
Solution

Re: 99% CPU usage

Hi Ajay:

There's nothing wrong with 99 or 100% cpu utilization. It's good to use resources! If you are getting acceptable response time from your application/server I wouldn't worry about it. It's good that you look at your code and check for inefficient code. It's also good to make sure you are at an appropriate patch level and have the kernel configured properly. However, with the processing speed and cost of memory, I tend to code my applications to be more readable and maintainable, sometimes over efficiency.

Tom