cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
805
Views
0
Helpful
4
Replies

CPU high utilization explained better

jeff113113
Level 1
Level 1

Why does the cpu utilization differ from adding up all the processes for that time frame. Example below, for 5 minutes it says 52% but if you all up all the processes, it's less then 10%. Where is the other utilization coming from???

 

PU utilization for five seconds: 51%/31%; one minute: 43%; five minutes: 52%
 PID Runtime(ms)   Invoked      uSecs   5Sec   1Min   5Min TTY Process
   4   203623961   9538893      21346  9.58%  1.43%  1.06%   0 Check heaps
   9    75252665 251108604        299  0.47%  0.23%  0.30%   0 ARP Input
  33      415617  22484730         18  0.15%  0.05%  0.05%   0 Per-Second Jobs
  57     90062191197902694          7  0.31%  0.39%  0.57%   0 Fifo Error Detec
  70    32402535 670509441         48  0.31%  0.72%  1.44%   0 HLFM address lea
  86     3089298 227619993         13  0.15%  0.08%  0.12%   0 hpm main process
  89     8397924  22484601        373  0.15%  0.13%  0.14%   0 hpm counter proc
 127    76802955 536605531        143  3.19%  2.92%  4.53%   0 Hulc LED Process
 138     8931212   4521572       1975  0.15%  0.15%  0.15%   0 HQM Stack Proces
 

4 Replies 4

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

The "missing" CPU is "interrupt" processing CPU.

Could you or someone elaberate a little more? Thanks

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

Did you search the Internet or Cisco site using "interrupt" as one of your search terms?

Reason I ask, these forums are great for specific questions, such as your original question (to which, I believe, I've provided the answer), but more open ended questions, such an yours for unspecified elaboration, are often better explained reviewing the relevant documentation.

However, for a little more elaboration, interrupt CPU is where the Cisco device's (software based) frame/packet forwarding is ideally performed.  I assume the term stems from doing this processing directly as part of an interrupt service routine, or as a process triggered by an interrupt (something like "kernal" mode processing).

Interrupt frame/packet forwarding is also sometimes referred to as "fast path" while non-interrupt frame/packet forwarding is also sometimes referred to as "process switching".  Besides process switching, a device has many other routines running as scheduled processes.

On many ISRs, frame/packet forwarding is all performed by the main CPU, i.e. it's all software based, but interrupt switching has been written to be as efficient/optimal as possible.  On such routers, its not unusual to find a 10x performance difference between interrupt switching and processing switching.  (See attachment, for examples.)

InayathUlla Sharieff
Cisco Employee
Cisco Employee

I agree with Joseph.

 

For any indepth/detail info please review these docs for more info.

http://www.cisco.com/en/US/products/sw/iosswrel/ps1831/products_tech_note09186a00800a7306.shtml

http://www.cisco.com/en/US/products/hw/routers/ps359/products_tech_note09186a00801c2af0.shtml

HTH