cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
272
Views
8
Helpful
3
Replies

Overutilized CPU and Process Decisions

lamav
Level 8
Level 8

Folks:

How does a router or switch decide which processes to give precedence to? For example, if a router is facing a DoS attack (or whatever reason) and because of that, its CPU is pegged, how will it decide whether to process a BGP Hello or to policy-switch a data packet with a QoS marking of EF?

In fact, even during normal operatrion, how are the processes prioritized?

I don't think I have ever read a document that addressed this...

Would love some insight.

Thank you

Victor

3 Replies 3

Ryan Carretta
Cisco Employee
Cisco Employee

Many platforms implement a selective packet discard mechanism. Check out the link here:

http://www.cisco.com/en/US/products/hw/routers/ps167/products_tech_note09186a008012fb87.shtml

This helps to protect and preserve the control plane and ensure very high priority packets (RP hellos and such) get priority.

Aside from that, there is also QoS, which ensures, for example, that a parket marked EF would get forwarded before one in the default class.

Joseph W. Doherty
Hall of Fame
Hall of Fame

Victor, of course only Cisco can answer your question, but I suspect often the design is there is no inherent priorization for, or between, many processes. The expectation appears to be there will normally be excess CPU capacity so don't bog down the design with unnecessary logic. Confirmation of this might be seen by how badly many Cisco devices perform if you drive the CPU to 100% and keep it there. (BTW: if this is the design, nothing at all wrong with it for a special device such as a router or switch.)

Thank you, gentlemen.

Victor

Review Cisco Networking products for a $25 gift card