Even Load Balance for Eth-Trunk

Created Jan 04, 2019 00:52:37Latest reply Jan 04, 2019 05:08:12 418 2 1 0

A popular way of load balancing is creating eth-trunk interfaces, but many times this is done without considering this little fact, when adding interfaces to the eth-trunk it is important to remember that if the number is the nth power of 2, the load balance will be more even. Here is a simple and effective way to check if the eth-trunk contains an nth power of 2 number of interfaces.


Checking Whether the Number of Member Interfaces is the nth Power of 2


Procedure


<HUAWEI> display eth-trunk 1 verbose


Eth-Trunk1's state information is:

Local:

LAG ID: 1                   WorkingMode: LACP

Preempt Delay Time: 1       Hash arithmetic: According to SIP-XOR-DIP

System Priority: 32768      System ID: 0018-82d4-04c3

Least Active-linknumber: 1  Max Active-linknumber: 2

Operate status: up          Number Of Up Port In Trunk: 2

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

ActorPortName                     Status       PortType     PortPri PortNo PortKey PortState Weight

GigabitEthernet0/0/2           Selected   1GE          10          262      2609    10111100   1

GigabitEthernet0/0/3           Selected    1GE          10          263      2609    10111100   1

GigabitEthernet0/0/4             Unselect     1GE          32768    264      2609    10100000  1



NOTE:


Method for identifying the selected Eth-Trunk member interface:

 

In LACP mode (the value of WorkingMode is LACP), the value of Status of the interface is Selected.

 

In manual load balancing mode (the value of WorkingMode is NORMAL), the value of Status of the interface is Up.


  • x
  • convention:

terae7 Created Jan 15, 2019 23:00:04
For sure we usually forget that point, and it is important to remember it in order to achieve the best load balance performance. So, if we take that into account as well as establishing an optimal load profile balance in the EthTrunk, it can work pretty 
emontiel     Created Jan 04, 2019 05:08:12 Helpful(0) Helpful(0)

Is good to know that, in order to improve load balance in a Eth-Trunk, the number of member interfaces should be a Nth power of 2. Thanks for sharing!!
  • x
  • convention:

Responses

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

Notice:To ensure 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 not limited to politically sensitive content, content concerning pornography, gambling, drug abuse and trafficking, content that may disclose or infringe upon others' intellectual properties, including commercial secrets, 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 Policy.”
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top