Link Aggregation > Round Robin

Support told me to enable this to “improve” performance / throughput.

I dont buy it.

Has anyone enabled this?

Test bed is pretty straight forward:

Copy a 10GB file over a gigabit network (Expand the details on the copy box and note below)

Note Transfer Rate (should be around around 20MBs, and may steadily drop.)

Note Time Remaining (should take around 12min on this slug.)

Connect a second ethernet cable from your gigabit router / switch to your EX4s second ethernet port.

In the EX4s dashboard go to: Settings > Network & Look for Link Aggregation.  Change it to Round Robin.

(not sure if it will reboot or what at that point.) (I would suggest a reboot anyway if it doesnt already.)

Copy another 10GB file over a gigabit network (Expand the details on the copy box and note below)

Note Transfer Rate (how much over the first transfers MBs do you have?)

Note Time Remaining (how much time less than the first did it take this time?)

Im thinking this will be negligable, but our friends at WD say it should be something better.  What do you get?

I’m not buying either answer – but I haven’t tested Round Robin.

In the test case you propose, the Round Robin won’t even be used at all – Round Robin only affects packets FROM the EX4 into your network.  Your PC (or its switch) will not “round robin” the reverse path unless explicitly configured on the switch or PC – and the fact that your PC probably isn’t dual-attached means the switch will just re-aggregate all those packets back onto one wire.

Since you’re copying TO the EX4 (at least, I assume that’s the direction you’re talking about given the speeds you’re seeing)  there’s not going to be anything substantial to improve performance.

I AM running LACP, though – but right now, I’m serving 9 BD Rips to a transcode process running on my Linux workstation, so my EX4 is too busy to do a meaningful test.   Perhaps the EX4 has some very bizarre limitation that only “Bonding” can overcome, but i’ve never experienced that in my career.

I seldom bring my credentials to bear, but I will in this case.

I’m a Cisco Certified Design Professional / Network Professional (CCDP / CCNP) continuously re-certified for the last 15 years.  I’ve been designing, building, installing, and configuring high-performance enterprise datacenter networks for a Fortune 500 company for the last decade.

– LACP is useful for both redundancy and performance – however, the latter is only effective if the host system is saturating a single link, AND when there are multiple traffic flows.  A “Flow” is defined as a traffic source/sink pair where the source and destination share common parameters that don’t change over time, such as Source & Destination MAC, IP Address, and/or TCP/UDP socket or port numbers.  If anything does change, it’s considered a different Flow.

For any given “Flow,” only ONE interface will ever be used.   This is controlled by the Hashing algorithm chosen by the traffic source to determine which interface to send any particular packet.

Executing the following command on the EX4:

/proc/16051/net/bonding # cat bond0
Ethernet Channel Bonding Driver: v3.5.0 (November 4, 2008)

Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer2 (0)

 … we can see that the hahing algorithm in use is “layer2.”

In Layer 2 hashing, the interface chosen is based on the LAST BIT (the least significant) of the SOURCE MAC and the DESTINATION MAC X’ORd together.

So given that the EX4’s MAC and your PC’s MAC will NEVER change, the Hash will ALWAYS be the same result – so all the traffic from the NAS to the PC will Only and Forever use one specific interface of the two-member “bundle.”

(If BOTH the Source MAC and Destination MAC both end in a ZERO or ONE bit, the hash will result in ‘0’, which means Port 0 is used.

If the bits are opposite on the source and destination MAC, the hash will result in ‘1’, which means that Port 1 is used.)

For example, my EX4’s MAC address is 00:90:a9:62:eb:0e.

My PC’s MAC address is 90:fb:a6:2d:8a:68. 

Both are “even” numbers, meaning the last bit is zero for both.   0 X’OR 0 is 0, so, as long as both interfaces in the group are functional, traffic FROM the NAS to my PC will ALWAYS use Port 0 – and NOTHING else.

The reverse path (PC to NAS) is calculated by the switch, not the NAS – and does NOT have to be done the same way or yield the same result.

So I cannot see how it’s possible that LACP would ever improve performance when only a single PC is used as a client.

In datacenter networks, thousands of clients are talking to the server (and vice versa) so there’s roughly a 50/50 probability of a well-distributed Hash.

1 Like

Just for giggles, even though the EX4 is busy,  I copied a large file FROM the NAS to my PC:  Got around 50 MBytes/second average.

Copying TO the NAS, I’m seeing about 26 Mbytes/second.

TonyPh12345 wrote:

 

I’m not buying either answer – but I haven’t tested Round Robin.

  

Tony, you da man! But I assume you mean either answer to read answer either as there is only one answer from WD “support”.

Im with you though.  I dont buy it.  But I am hoping for a glimmer of expertiece on thier own product from thier own support.

So im throwing it out there for someone that may have tried “round robin”…  to dispute our lowly opinions to the expertiece of WD. ;]

I actually meant either answer — WD guy saying LACP doubled your performance (in your other post in another thread), and that Round Robin would do the same if you can’t do LACP.

EDIT:  Strike that – you said he said “LA,” not LACP.   I filled in the extra letters from my own misfired neurons.

Gotcha.  And yes per you previous reply I should have mentioned full bandwidth not accounting for concurrent connections to get a above the single gigabit port bottleneck.

It truely amazes me the amount of mis information WD “support” provides.  Really makes trusting this thing and WD hard.

The tech that did have LA enabled is suposidly a L2 tech (or at least stated in his signature), was suppose to call me back today, but he has stopped replying to emails.  If he does I will ask some more question as to which he has enabled.

Has anyone reached or know if WD has a L3? (or anything higher than “L2”)  Specialist, Escalation Group or anything?

So anyone else try Round Robin to confirm our suspitions?