The displayed speed rate limitation different from the configuration

116 0 1 0

Issue description


The displayed speed rate limitation is different from the configuration, just as the below information shows:


<dev_hq>display cpu-defend policy xx

name :xx

related slot:<0>

configuration:

car packet-type arp-request: cir(40) cbs(10000)

...

<dev_hq> display cpu-defend rate packet-type arp-request

Info: Please wait for a moment....

Cpu-defend rate on slot 0:

-------------------------------------------------------------------------------

Packet Type           Pass(bps)    Drop(bps)       Pass(pps)       Drop(pps)

-------------------------------------------------------------------------------

arp-request              31530         4432               33               12

-------------------------------------------------------------------------------


Solution


When calculating the speed limit of the flow rate, the device includes the frame gap and the preamble by default, that is, the traffic rate is not only including the data packet traffic. Shorter packets will be more affected by the frame clearance and preamble than larger ones.


The rate of speed limit can be configured by qos-car exclude-interframe and qos-shaping exclude-interframe, excluding the frame gap and preamble of the message, thereby improving the accuracy of the speed limiting function.


In fact, our device is working fine, there is just a different calculation method.


  • x
  • convention:

Comment

Reply
You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login