cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
593
Views
1
Helpful
5
Replies

Port Channel Load Balance Parameters

elahe
Level 1
Level 1

Hi,
Could anyone explain the difference between fixed hash-distribution and resilient hashing please. Based on the cisco documents I understand both as if a link is down, they just rehash the traffic on that link not others. How are they different then?

I just have seen this:
Resilient Hashing
With the exponential increase in the number of physical links used in data centers, there is also the potential for an increase in the number of failed physical links.
In static hashing systems that are used for load balancing flows across members of port channels or Equal Cost Multipath (ECMP) groups, each flow is hashed to a link.
If a link fails, all flows are rehashed across the remaining working links.
This rehashing of flows to links results in some packets being delivered out of order even for those flows that were not hashed to the failed link.

Configuring Port Channel Hash Distribution
Cisco NX-OS supports the adaptive and fixed hash distribution configuration for both global and port-channel levels.
This option minimizes traffic disruption by minimizing Result Bundle Hash (RBH) distribution changes when members come up or go down so that flows that are mapped to unchange RBH values continue to flow through the same links.

5 Replies 5

M02@rt37
VIP
VIP

Hello @elahe 

Fixed Hash distribution involves rehashing all flows upon a link failure—potentially causing widespread packet reordering—Resilient Hashing confines rehashing to only those flows affected by the failure, thereby maintaining greater overall trafic stability.

https://learningnetwork.cisco.com/s/question/0D53i00000Ksr1BCAR/portchannel-resilient-rehashing

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Rehashing all the flows is adaptive hash distribution as I know. The fixed option makes it to rehash only flows on the failed link. Am I making mistake? If fixed mode rehash them all, what does adaptive mode do?
prot-channel load-balance hash-dis [adaptive/fixed]

Hello @elahe 

To go straight, fixed hash distrib and resilient hashing aim to maintain stability, while adaptive hash optimizes load balancing at the potential cost of packet reordering.

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

i test it its not work

 

Yes you're right but I need to know how they are different.