Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Bronze

CAR & POLICE - Better impact on CPU ?

  Hi All,

I have a requirement to rate limit one of the customer to 40Mbps. Unfortunately I have to do it in Cisco router. The customer is landed on POS interface with encapsulation configured as FR. Customer has got 2 services so 2 different DLCI are used. In one DLCI, 40Mbps CAR is configured. Whenever there is a flap in the POS interface the router has very high CPU. I guess configuring CAR makes the router to do a process switch of every packet it receives.

If policing is configured rather than CAR does it reduce the load on CPU. Because class-map and policy-map works on CEF and it reduces load on CPU.

Would like to know:

1. When CAR is configured, router does Process switching or still does CEF. How about the load on CPU.

2. If policing is configured, router does CEF. But how about the load on CPU. Will it be the same like CAR or somewhat better.

thanks in advance

Arun

Everyone's tags (1)
2 REPLIES
Hall of Fame Super Gold

Re: CAR & POLICE - Better impact on CPU ?

Always prefer shaping over policing.

Hall of Fame Super Silver

Re: CAR & POLICE - Better impact on CPU ?

Hello Arun,

>> I guess configuring CAR makes the router to do a process switch of every  packet it receives.

no CAR requires CEF and uses CEF, modern class based policing requires CEF too.

>>

CAR or VIP-distributed CAR can be configured on an interface or  subinterface. However, CAR and VIP-distributed CAR are not supported on  the following interfaces:

Fast EtherChannel

Tunnel

PRI

Any interface that does not support  Cisco Express Forwarding (CEF)

http://www.cisco.com/en/US/docs/ios/qos/configuration/guide/polcing_shping_oview_ps6441_TSD_Products_Configuration_Guide_Chapter.html#wp1000944

use sh proc cpu sorted during flapping to see what processes use more resources.

if I understand correctly you are using Frame Relay encapsulation over an OC-3 POS I remember it was not possible to use FR over POS, what platform are you using?

Years ago the fastest FR link was a T3 link as far as I know.

or is this an ATM OC-3 interface?

Are you limiting inbound or outbound with CAR?

if outbound you could consider shaping as suggested by Paolo

Hope to help

Giuseppe

458
Views
0
Helpful
2
Replies
CreatePlease to create content