09-20-2010 12:12 PM - edited 03-06-2019 01:05 PM
09-20-2010 02:03 PM
The output of show process cpu is a little cryptic. For the five second field it is split into two total/interrupt the difference is what we see used for processes. In this case it is 53/50 so the processes should account for about 3%(not super accurate but close)
As for interrupts this is typically packet forwarding. There are other things that might fall under interrupt like alignment errors. You can perform show align to see if there are any incrementing. For more information see the following link.
http://www.cisco.com/en/US/products/hw/routers/ps133/products_tech_note09186a00800a70f2.shtml
HQF shaper backg is QOS shaping. It is probably not high enough to worry about given the 1% it is using.
Hopefully that explains it. If you feel this is higher than it should be please check out the performance information in the following document from Miercom.
http://www.miercom.com/dl.html?fid=20061201&type=report
Regards
David Aicher
10-18-2010 04:56 PM
If I remove all of the 0.0 utilization PIDs - note that the only ones left are near 1%. Yes they don't
nearly add up to 24% total. Any idea how that math works out? It would seem to me that here in
this snapshot that HQF shaper 1.67 really means a higher percent of CPU than 1.67 percent.
sfo-c2811-1#sho proc cpu | exc 0.0
CPU utilization for five seconds: 24%/19%; one minute: 24%; five minutes: 23%
PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process
5 10660 653 16324 1.03% 0.24% 0.18% 0 Check heaps
115 65640 29008 2262 0.23% 1.39% 0.86% 0 IP Input
180 19504 1058750 18 1.67% 1.57% 1.53% 0 HQF Shaper Backg
343 5504 3578 1538 0.23% 0.21% 0.16% 0 SCCP Application
10-18-2010 07:07 PM
CPU utilization for five seconds: 24%/19%; one minute: 24%; five minutes: 23%
24%/19% means 24% is overall CPU utilization, of which 19% is due to interrupts, meaning that 5% is utilized by processes
10-19-2010 03:07 PM
Thank you. That clarifies a lot!
10-19-2010 11:11 AM
So that raises the question what would cause the interrupt portion of CPU utilization to go so high? Here it looks like
processes are only taking up 4% yet the router is at 58% utilization. Thank you.
sfo-c2811-1#sho proc cpu
CPU utilization for five seconds: 58%/54%; one minute: 47%; five minutes: 46%
PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process
1 332 259 1281 0.00% 0.00% 0.00% 0 Chunk Manager
2 12416 14027 885 0.07% 0.08% 0.14% 0 Load Meter
3 4652 1054 4413 0.00% 0.02% 0.00% 0 AFW_application_
4 0 1 0 0.00% 0.00% 0.00% 0 EDDRI_MAIN
5 156908 10102 15532 0.00% 0.21% 0.18% 0 Check heaps
6 64 25 2560 0.00% 0.00% 0.00% 0 Pool Manager
7 0 2 0 0.00% 0.00% 0.00% 0 Timers
8 0 1 0 0.00% 0.00% 0.00% 0 License Client N
10-19-2010 11:39 AM
Interrupt level CPU is typically packet forwarding. As long as the CPU is not sustained near 100% it shouldn't cause an issue. If you think it is higher than you expect it to be or you are planning on adding capicity then you may want to check on performance specs.
Here is a link to some third party testing.
http://www.miercom.com/dl.html?fid=20061201&type=report
Regards
Dave Aicher
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: