cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2758
Views
15
Helpful
3
Replies

Port Channel Bandwidth

Saif_Mo
Level 1
Level 1

Hi I have a question regarding port channels

 

If I have a switch with gig interfaces and lets say I want to bundle 2 ports using lacp so technicly I will have an etherchannel of (2 Gbps) and lets say I enabled the load balancing.

my question: is it possible for the switch to send more than 1Gbps of data through the etherchannel knowing my interfaces can handle 1 Gbps at max ?

1 Accepted Solution

Accepted Solutions

pigallo
Cisco Employee
Cisco Employee

 

Hello,

 

load balancing is enabled by default when your switch groups port members into a port-channel, so, no need to enable anything here.
It's up to you to choose which algorithm switch has to follow to compute hash that determines which link will take the next frame.

It is possible that your switch can send more than 1 Gbps traffic through ether-channel.
Switch, in your case, cannot pass over the hardware scheduler threshold defined by the tx-ring on the physical link which is tied to 1 Gbps of max throughput. So, even though interface's throughput is 1G, port-channel can leverage the grouped scheduling capacity taken by its interface members to multiply its transmit rate.

 

 

Hope it cleared up your doubt.

Regards.

 

 

 

 

View solution in original post

3 Replies 3

pigallo
Cisco Employee
Cisco Employee

 

Hello,

 

load balancing is enabled by default when your switch groups port members into a port-channel, so, no need to enable anything here.
It's up to you to choose which algorithm switch has to follow to compute hash that determines which link will take the next frame.

It is possible that your switch can send more than 1 Gbps traffic through ether-channel.
Switch, in your case, cannot pass over the hardware scheduler threshold defined by the tx-ring on the physical link which is tied to 1 Gbps of max throughput. So, even though interface's throughput is 1G, port-channel can leverage the grouped scheduling capacity taken by its interface members to multiply its transmit rate.

 

 

Hope it cleared up your doubt.

Regards.

 

 

 

 

It actually cleared my doubts. Thanks for clarification and confirmation. 

Joseph W. Doherty
Hall of Fame
Hall of Fame

"my question: is it possible for the switch to send more than 1Gbps of data through the etherchannel knowing my interfaces can handle 1 Gbps at max ?"

Yes and no.

Etherchannel, by default, does load balancing using the platform's actively selected hashing algorithm.  Depending on your traffic's attributes, and the selected hashing algorithm, you should see, over time, a balanced distribution of usage across all your Etherchannel links.

Some things to keep in mind:

Individual flows are never distributed across multiple links (don't confuse Etherchannel with multiple L3 link load balancing options). I.e. any one flow cannot obtain more than a single link's bandwidth.

Since load balancing is per flow, during short term time periods, or the nature of your traffic (e.g. high volume between just one pair of hosts) you might see some links, even over a long time period, utilization's higher, even much higher, than other links.

"Original" load balancing isn't optimally load balanced across non power of twos number of links.  I.e. 2, 4 or 8 links will balance better than 3, 5, 6 or 7 links.  Some later Etherchannel implementations (much) better balance across a non power of two number of links.

BTW, especially with 4 or more Etherchannel links, and port using transceivers (especially optically), the next higher bandwidth option (if available) is often a better choice for (more) bandwidth and (less) cost.

I recall (?) some of the later Etherchannel implementations support more than 8 links.

If platform supports it, often a good/best choice for the hashing algorithm is src-dst-ip.

Flows with the same attributes will always chose the same link as determined by the hashing algorithm.

Etherchannel does not distribute based on link load, so aggregate throughput is NOT just the sum of the number of links.  For example, for a two channel Etherchannel, don't expect double the aggregate traffic throughput, expect more on the order of plus 50%.  (Why? Consider first flow gets one link.  Second flow has a "fifty/fifty" chance of using same link or the other.  If sent to same link as first flow, overall throughput limited to just one link.  Only if second flow sent to other link do you obtain twice the throughput.)

NB: platforms' default hashing algorithm vary.  If configuring Etherchannel, confirm hashing algorithm is "optimal" for your traffic.

Although you've asked about Etherchannel bandwidth, don't overlook its other major feature, improved redundancy.  Especially helpful when used on a platform's different port modules/cards and even more so when used on different physical platforms (i.e. stacked switches, VSS, vPC).

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: