Got it

MPPS

Created: Jun 19, 2021 13:24:04Latest reply: Jun 19, 2021 13:35:37 312 4 1 0 0
  HiCoins as reward: 0 (problem unresolved)

Hi  All,



How Huawei calculate,  network switch forwarding rate (Mpps)?



can anyone has the formula for this.

Featured Answers

Recommended answer

jason_hu
Admin Created Jun 19, 2021 13:35:37

Hi friend!

The forwarding performance(packet forwarding rate) of a switch refers to the capability of the switch to forwarding packets, in PPS (Packet per second), that is, the number of packets that can be forwarded by the switch per second.


Because of the Ethernet conflict detection mechanism, the data frame size is limited when the Ethernet transmits data frames. The minimum data frame is 64byte, plus the preamble bytes of 8byte and the interframe gap of 12byte, the total is 84byte. That is, the minimum data frame transmitted on the Ethernet is 84byte.


Take the 100 Mbit/s Ethernet interface as an example. Every eight bits form a byte. Therefore, the Ethernet interface rate of 100 Mbit/s =12.5Mbyte/s, that is, the Ethernet interface can forward 12.5M bytes =12500000byte per second. Assuming that all data frames transmitted in the worst case are the smallest 84byte, the data frame forwarded by the 100 Mbit/s Ethernet port per second is 12500000/84=148809pps (frame/second) =148.8kpps=0.1488Mpps.


Therefore, it can be concluded that the packet forwarding rate of the 100 Mbit/s Ethernet interface is 0.1488Mpps, then the packet forwarding rate of the Gigabit Ethernet interface is 1.488Mpps, and the packet forwarding rate of the 10G Ethernet interface is 14.88Mpps.


For example, if there is a 24-port 10/100Base-TX Ethernet switch, the packet forwarding rate of the switch is 24*0.1488Mpps=3.5712Mpps, plus four GE ports 4*1.488Mpps=5.952Mpps. So the total is 3.5712Mpps+5.952Mpps=9.5232Mpps. That is, a 24-port 100 Mbit/s +4 gigabit Ethernet switch can implement line-rate forwarding only when the packet forwarding rate of the entire device reaches 9.5232Mpss.

Hope to help you!

View more
  • x
  • convention:

IndianKid
IndianKid Created Jun 19, 2021 13:46:32 (0) (0)
does this apply to only Huawei or all other brands same formula?

I noticed some other brand switches have a different rates.  
jason_hu
jason_hu Reply IndianKid  Created Jun 19, 2021 14:03:52 (0) (0)
Take a look at the content I modified.  
All Answers
Dear friend!
Please rest assured that we'll be back with an answer shortly.
View more
  • x
  • convention:

Hi friend!

The forwarding performance(packet forwarding rate) of a switch refers to the capability of the switch to forwarding packets, in PPS (Packet per second), that is, the number of packets that can be forwarded by the switch per second.


Because of the Ethernet conflict detection mechanism, the data frame size is limited when the Ethernet transmits data frames. The minimum data frame is 64byte, plus the preamble bytes of 8byte and the interframe gap of 12byte, the total is 84byte. That is, the minimum data frame transmitted on the Ethernet is 84byte.


Take the 100 Mbit/s Ethernet interface as an example. Every eight bits form a byte. Therefore, the Ethernet interface rate of 100 Mbit/s =12.5Mbyte/s, that is, the Ethernet interface can forward 12.5M bytes =12500000byte per second. Assuming that all data frames transmitted in the worst case are the smallest 84byte, the data frame forwarded by the 100 Mbit/s Ethernet port per second is 12500000/84=148809pps (frame/second) =148.8kpps=0.1488Mpps.


Therefore, it can be concluded that the packet forwarding rate of the 100 Mbit/s Ethernet interface is 0.1488Mpps, then the packet forwarding rate of the Gigabit Ethernet interface is 1.488Mpps, and the packet forwarding rate of the 10G Ethernet interface is 14.88Mpps.


For example, if there is a 24-port 10/100Base-TX Ethernet switch, the packet forwarding rate of the switch is 24*0.1488Mpps=3.5712Mpps, plus four GE ports 4*1.488Mpps=5.952Mpps. So the total is 3.5712Mpps+5.952Mpps=9.5232Mpps. That is, a 24-port 100 Mbit/s +4 gigabit Ethernet switch can implement line-rate forwarding only when the packet forwarding rate of the entire device reaches 9.5232Mpss.

Hope to help you!

View more
  • x
  • convention:

IndianKid
IndianKid Created Jun 19, 2021 13:46:32 (0) (0)
does this apply to only Huawei or all other brands same formula?

I noticed some other brand switches have a different rates.  
jason_hu
jason_hu Reply IndianKid  Created Jun 19, 2021 14:03:52 (0) (0)
Take a look at the content I modified.  

Comment

You need to log in to comment to the post Login | Register
Comment

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 " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.