Link Aggregation Concept

If the CPU can’t handle iPerf >1Gb/s, which is essentially just throwing bits from the CPU to the NIC, I don’t think it’ll handle any file transfer protocol faster than that.

BACKGROUND

  1. Upgraded my unmanaged switch to a Linksys LGS326 w/ LACP support
  2. Connected 2 LAN ports to each of my 3 QNAP NAS(s) running TrueNAS CORE
  3. Enabled LACP in both TrueNAS CORE and LGS326 (have to do this simultaneously)
  4. Have to manually restart mDNS or reboot to restore access to shares

RESULTS

  1. I can see when I have multiple RSYNC tasks running, traffic is distributed across ports in the LAGG
  2. CPU load not maxed out on either side
  3. LAGG interfaces working with jails and VMs
  4. Ran two iperf3 instances to confirm I am getting ~1Gbps on each simultaneously

Server

iperf3 -s -p 5201 &
iperf3 -s -p 5202 &

Client 1

iperf3 -c {server ip} -p 5201

Client 2

iperf3 -c {server ip} -p 5202

Confirmed both clients are getting ~940Mbps simultaneously.

@elvisimprsntr Thanks for sharing.

I am curious, what model Qnap NAS do you have and what do you mean by it running Truenas Core ? Did you overwrite the QTS with Truenas ?

@jinu

BACKGROUND

I have 2xTS-453A and 1xTS-253A, which are all x86 based and first confirmed the SATA and LAN controllers were supported before installing TrueNAS CORE on an external USB3 Crucial X8 M.2 QLC SSD.

Once I got everything configured and ran for 2-3 weeks without any issues, I replaced the stock Apacer 512MB eUSB DOMs with Apacer 16GB eUSB SLC DOMs, and re-installed TrueNAS CORE and restored the config backup. eUSB DOMs are hard to find right now due to chip shortages, but I was able to find some. Although not recommended, you can run CORE on thumb drive, but they will not last. At a minimum, use industrial SLC thumb drives.

RESULTS

  1. TrueNAS CORE runs on my hardware without issues and is significantly faster than QTS.
  2. CORE bhyve hypervisor is a bit finicky and doesn’t natively support USB passthrough, but I was able to get a Windows VM working after some tweaks.
  3. Even figured out how to control the 16x2 LCD display on the TS-453A
  4. I tried TrueNAS SCALE ALPHA, but its not stable enough for critical environments. I plan to migrate to SCALE after it’s out of BETA and @LTS_Tom gives his seal of approval. :wink:

YOUR OPTIONS

  1. The QNAP TS-231 is ARM based, thus will not run CORE
  2. Pick up a used x86 QNAP or other manufacturer NAS off eBay, or repurpose an old PC, and use the TS-231 as a backup NAS. Just stay away from Intel CPUs that have the LPC clock degradation issue. Silvermont - Wikipedia