davidmueller13 Posted May 31, 2021 Share Posted May 31, 2021 (edited) I use link aggregation from my pc to the switch (Cisco sg250-08) for having full speed while downloading/uploading both files from the internet and transfering files to/from the NAS. This works well with Xpenology, Freenas and OMV. But when I try it with Unraid both Internet and NAS Traffic (SMB or FTP) are on one link, so it shares the bandwith On the NAS site I have just one basic ethernet connection to switch (same setup like with the other NAS OS). Edited June 2, 2021 by davidmueller13 Quote Link to comment
ChatNoir Posted May 31, 2021 Share Posted May 31, 2021 I think there are several bonding modes and the default is probably active backup. You should look into that setting and adjust depending on what your other hardware can support. Quote Link to comment
davidmueller13 Posted May 31, 2021 Author Share Posted May 31, 2021 Bonding mode is set to lacp (802.3ad) both on the computer and the switch. (I didn't change anything when I switched between the NAS OS) Quote Link to comment
bonienl Posted May 31, 2021 Share Posted May 31, 2021 (edited) Unraid uses layer 2 hashing distribution. This is distribution based on MAC addresses of source and destination. This may not give enough variation, and you can try to do distribution based on layer 4 (TCP/UDP). Open a console window and execute: echo 1 > /sys/class/net/bond0/bonding/xmit_hash_policy This setting is not permanent and rebooting the server reverts to layer 2 distribution. Edited May 31, 2021 by bonienl Quote Link to comment
davidmueller13 Posted May 31, 2021 Author Share Posted May 31, 2021 I think my post was a bit misleading. I don't use Bonding on Unraid. There I have just one single ethernet Interface. I use bonding between my pc and the switch, so i can transfer things from/to my pc from different sources not limited to 1 gbit/s (in my case from Unraid and my Router). And when I do this with Unraid(like copy one file with smb and do an internet download) the traffic from Unraid and the traffic from my Router are on the same link But when use any other NAS Software like OMV, the internet traffic and nas traffic are on different links.(like it should be) Quote Link to comment
davidmueller13 Posted June 2, 2021 Author Share Posted June 2, 2021 After a tip on Reddit I solved it by changing the LACP algorithm from MAC-Adress to IP/MAC-Adress. 1 Quote Link to comment
John_M Posted June 2, 2021 Share Posted June 2, 2021 1 hour ago, davidmueller13 said: After a tip on Reddit I solved it Would you care to give a pointer to the Reddit post so that others might benefit from your research? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.