Which is the best port trunking option?

Don't miss a thing. Post your questions and discussion about other uncategorized NAS features here.
ilovethisgame
Starting out
Posts: 24
Joined: Sun Jul 15, 2012 11:08 am
Location: China

Which is the best port trunking option?

Post by ilovethisgame » Tue Jul 24, 2012 11:23 am

Dear all,

I am currently having a TS-879-RP with dual LAN ports and a Gigabit HP switch, I have enabled the other LAN port,just wondering which port-trunking option below is the best in terms of maximize the bandwidth usage of both LAN ports?

I actually have tested all of the below option, and I found that none of them can increase bandwidth. E.g. When using only one port, I copy the same file of 10GB size from 3 different PCs which are connected to the same Gigabit switch as NAS. The total speed is around 120MB /s. When I use both ports and select any option below, the total speed is still less than 120MB /s. Any advice?

Thanks.




Below are the 6 options available:

Balance-rr (Round-Robin)
Round-Robin mode is good for general purpose load balancing between two Ethernet interfaces. This mode transmits packets in sequential order from the first available slave through the last. Balance-rr provides load balancing and fault tolerance.
Supports static trunking. Make sure static trunking is enabled on the switch.


Balance XOR
Balance XOR balances traffic by splitting up outgoing packets between the Ethernet interfaces, using the same one for each specific destination when possible. It transmits based on the selected transmit hash policy. The default policy is a simple slave count operating on Layer 2 where the source MAC address is coupled with destination MAC address. Alternate transmit policies may be selected via the xmit_hash_policy option. Balance XOR mode provides load balancing and fault tolerance.
Supports static trunking. Make sure static trunking is enabled on the switch.

Broadcast
Broadcast sends traffic on both network interfaces. This mode provides fault tolerance.
Supports static trunking. Make sure static trunking is enabled on the switch.

IEEE 802.3ad (Dynamic Link Aggregation)
Dynamic Link Aggregation uses a complex algorithm to aggregate adapters by speed and duplex settings. It utilizes all slaves in the active aggregator according to the 802.3ad specification. Dynamic Link Aggregation mode provides load balancing and fault tolerance but requires a switch that supports IEEE 802.3ad with LACP mode properly configured.
Supports 802.3ad LACP

Balance-tlb (Adaptive Transmit Load Balancing)
Balance-tlb uses channel bonding that does not require any special switch. The outgoing traffic is distributed according to the current load on each Ethernet interface (computed relative to the speed). Incoming traffic is received by the current Ethernet interface. If the receiving Ethernet interface fails, the other slave takes over the MAC address of the failed receiving slave. Balance-tlb mode provides load balancing and fault tolerance.
General switches

Balance-alb (Adaptive Load Balancing)
Balance-alb is similar to balance-tlb but also attempts to redistribute incoming (receive load balancing) for IPV4 traffic. This setup does not require any special switch support or configuration. The receive load balancing is achieved by ARP negotiation sent by the local system on their way out and overwrites the source hardware address with the unique hardware address of one of the Ethernet interfaces in the bond such that different peers use different hardware address for the server. This mode provides load balancing and fault tolerance.
General switches
A rolling stone does not gather moss

User avatar
schumaku
Guru
Posts: 43664
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: Which is the best port trunking option?

Post by schumaku » Tue Jul 24, 2012 10:46 pm

Just cuurious - have configured the switch static resp. dynamic (LACP) accordingly? Just changing the NAS trunking port mode does not chage anything...

kdallas
First post
Posts: 1
Joined: Tue Jul 31, 2012 11:59 am

Re: Which is the best port trunking option?

Post by kdallas » Tue Jul 31, 2012 12:06 pm

schumaku wrote:Just cuurious - have configured the switch static resp. dynamic (LACP) accordingly? Just changing the NAS trunking port mode does not chage anything...


Not sure that is strictly true? I mean I'm no expert but the manual clearly states that no special hardware is required unless you're using 802.3ad... which means you can use the software bonded implementations like balance-tlb.

The thing to remember is you're not going to increase your speed/performance -- at least for a single user, it is still 1Gbps. BUT, what it does mean as that more clients can access the NAS simultaneously and all enjoy closer to 1Gbps. As opposed to having one interface and having to share all the bandwidth.

P3R
Guru
Posts: 12334
Joined: Sat Dec 29, 2007 1:39 am
Location: Stockholm, Sweden (UTC+01:00)

Re: Which is the best port trunking option?

Post by P3R » Wed Aug 01, 2012 4:23 am

kdallas wrote:I mean I'm no expert but the manual clearly states that no special hardware is required unless you're using 802.3ad...
The manual does state that static port trunking needs to be configured on the switch with the port trunking options Balance-rr, Balance XOR and Broadcast. Cheap non-manageable switches are therefore not compatible with any of those modes.

In fact it is easier to list the options that can be used without any switch configuration: Balance-tlb, Balance-alb and Active Backup. Active Backup does however provide only fault tolerance, no load balancing.
RAID have never ever been a replacement for backups. Without backups on a different system (preferably placed at another site), you will eventually lose data!

A non-RAID configuration (including RAID 0, which isn't really RAID) with a backup on a separate media protects your data far better than any RAID-volume without backup.

All data storage consists of both the primary storage and the backups. It's your money and your data, spend the storage budget wisely or pay with your data!

vsgruescu
New here
Posts: 4
Joined: Tue Mar 08, 2011 12:31 am

Re: Which is the best port trunking option?

Post by vsgruescu » Tue Jan 08, 2013 1:38 am

The best way ist just test every type of config. Without any special hardware and using a belkin router(only for testing) as a switch, i have found that with the option - Balance-rr - transfer rate is much better, actualy 4x better.
_________________
NAS TS-419P+

2000wolf
Know my way around
Posts: 169
Joined: Tue Dec 27, 2011 7:34 pm

Re: Which is the best port trunking option?

Post by 2000wolf » Tue Jan 08, 2013 3:10 am

IEEE 802.3ad works very vell in combination with a compatible managed switch.
_____________________
Regards 2000wolf
_____________________
FW 4.1.1 0916

P3R
Guru
Posts: 12334
Joined: Sat Dec 29, 2007 1:39 am
Location: Stockholm, Sweden (UTC+01:00)

Re: Which is the best port trunking option?

Post by P3R » Tue Jan 08, 2013 9:26 am

vsgruescu wrote:Without any special hardware and using a belkin router(only for testing) as a switch, i have found that with the option - Balance-rr - transfer rate is much better, actualy 4x better.
If the transfer rate improves 4 times by doubling the network connections you have other problems in your network.

Furthermore way you have the NAS network connections configured now is unsupported and will most likeley at one point or another lead to additional hard-to-diagnose problems.
RAID have never ever been a replacement for backups. Without backups on a different system (preferably placed at another site), you will eventually lose data!

A non-RAID configuration (including RAID 0, which isn't really RAID) with a backup on a separate media protects your data far better than any RAID-volume without backup.

All data storage consists of both the primary storage and the backups. It's your money and your data, spend the storage budget wisely or pay with your data!

riahc3
Getting the hang of things
Posts: 84
Joined: Wed Jun 19, 2013 4:08 pm

Re: Which is the best port trunking option?

Post by riahc3 » Wed Mar 16, 2016 4:46 pm

Im tesing out balance-alb right now. Im looking more for fault tolerance.

I plan to switch to IEEE 802.3ad (Dynamic Link Aggregation) as my switch supports it and honestly it is the best.

quantumjohnny
First post
Posts: 1
Joined: Mon Jan 04, 2016 7:01 pm

Re: Which is the best port trunking option?

Post by quantumjohnny » Wed May 18, 2016 2:09 pm

riahc3 wrote:Im tesing out balance-alb right now. Im looking more for fault tolerance.

I plan to switch to IEEE 802.3ad (Dynamic Link Aggregation) as my switch supports it and honestly it is the best.


Which switch do you have. i'm planning to get the TP-Link TL-SG2008 as it support LACP 802.3ad.

chlywly
Starting out
Posts: 11
Joined: Thu Jul 26, 2012 6:07 am

Re: Which is the best port trunking option?

Post by chlywly » Wed Dec 14, 2016 8:07 am

Hey guys, if I have a Asus 68u /w Tomato firmware which options should I be using? Can't figure out how to configure the Tomato firmware.

riahc3
Getting the hang of things
Posts: 84
Joined: Wed Jun 19, 2013 4:08 pm

Re: Which is the best port trunking option?

Post by riahc3 » Sat Jun 17, 2017 2:11 pm

quantumjohnny wrote:
riahc3 wrote:Im tesing out balance-alb right now. Im looking more for fault tolerance.

I plan to switch to IEEE 802.3ad (Dynamic Link Aggregation) as my switch supports it and honestly it is the best.


Which switch do you have. i'm planning to get the TP-Link TL-SG2008 as it support LACP 802.3ad.

HP 1920.

It is working great

plporter
Starting out
Posts: 14
Joined: Sat Mar 12, 2016 6:04 am

Re: Which is the best port trunking option?

Post by plporter » Fri Apr 27, 2018 4:57 am

I have a D-Link DGS-1510-28X switch, and when I setup port trunking for LACP 802.3ad, it has the drop-down options to use one of the following:
Source MAC
Destination MAC
Sources Destination MAC
Source IP
Destination IP
Source Destination IP

Which should I chose and why?

When I selected "Sources Destination MAC" and activated all 4 ports on my TVS-871, I lost access to the internet.

I am not sure the two are related.

redticker
New here
Posts: 2
Joined: Sat Sep 08, 2012 8:08 pm

Re: Which is the best port trunking option?

Post by redticker » Mon Aug 10, 2020 12:44 am

I have a TS-419P II and TS-469 Pro, both with dual 1Gb ethernet ports. I also have a TS-453 BT3 which has 1 10Gb port and 2 x 1Gb port as well as Thunderbolt 3 interface. I am using a Ubiquity UniFi Switch 24 Pro which supports port aggregation.
Will configuring multiple ethernet connections to each NAS improve throughput for a single user? If so what option for port trunking should I select?
Will configuring multiple ethernet connections to each NAS improve throughput for multiple users? If so what option for port trunking should I select?
Thanks

dolbyman
Guru
Posts: 19973
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Which is the best port trunking option?

Post by dolbyman » Mon Aug 10, 2020 1:03 am

dont bother with the 419pII ..even if it worked ..it is too slow to saturate single 1GbE

ikemac
New here
Posts: 7
Joined: Mon Jan 29, 2018 5:50 am

Re: Which is the best port trunking option?

Post by ikemac » Mon Aug 10, 2020 2:10 am

I have a TS-253A with the port trunking set on the 802.11AD to match my Netgear Nighthawk RAX80 router settings.

On a large backup job that I am running now from PC to NAS nad I'm seeing about 80 MB/s on Port 1 and mere KB/s on Port 2. See pic attached for reference.

This doesn't seem at all like this is how it "should" work. But maybe I am missing something...
You do not have the required permissions to view the files attached to this post.
My 1st NAS:
QNAP TS-253A-8G
Bay 1: Seagate IronWolf Pro 4TB
Bay 2: Seagate IronWolf Pro 4TB
Connected via 2x 1Gbe to Netgear Nighthawk RAX80 AC6000 Router
Main user Laptop: Lenovo ThinkPad P52 i7-8850H 32gb

Post Reply

Return to “Miscellaneous”