LAG working at half speed
I have been trying to set up link aggregation between my PC and NAS via my Zyxel XGS1250-12.
My PC has an Asus 10G network card conntected to one of the 10G ports on my switch. My NAS - A Terramaster T5-221 has two 1Gb ports which are connected to ports 5 and 6 on the switch. I have created a bond on the NAS between the two ethernet ports and it shows on the NAS portal as 2000Mb/s.
On the switch, I went to Link Aggregation and checked the "LAG 2 - Port 5 and 6" checkbox and clicked apply.
So from this, I would expect that I would be able to copy a file up to the NAS from my PC at more than 1Gb/s - but it doesn't.
On the switch System page, it shows only a tiny amount of packet usage on port 6.
Can anyone help me find out what I am doing wrong please?
Best Answers
-
Hello @mickypen
Your concern regarding achieving half speed with LAG should be explained by its inherent behavior. When a single user sends data to the NAS, the switch directs this single traffic flow through one physical port, capping the speed at 1Gbps. This is a standard behavior for link aggregation, where individual traffic flows don't exceed the bandwidth of one link.
The real advantage of LAG comes into play when multiple users (such as PCs) are interacting with the NAS. Each user can potentially use a different link, allowing for better overall utilization of the aggregated bandwidth.
Additionally, the redundancy feature of LAG ensures that your NAS remains accessible even if one link goes down, providing greater network resilience.
See how you've made an impact in Zyxel Community this year!
Nami
0 -
Thank you all for your explanations
0 -
It's important to understand that while the bandwidth of a 2-port LAG link is 2Gbps, an individual flow will max out at 1Gbps. It's a highway with a 100MPH speed limit. We can add another lane and 2 cars can go 100MPH, but a single car can never go 200MPH. We're increasing the amount of traffic that can be carried, but not the max speed.
EDIT: I picked up this analogy from PatrickFarrell on SpiceWorks a while back. Great conversation in that thread about LAG and LACP btw.0
All Replies
-
Yes the way LAG works is not ideal I don't know why it can't be made better.
I LAG can have a hash type by MAC/IP Src/Dest (even port which helps a bit if supported) so from the NAS it can only send to say 192.168.0.2 at 1Gb down one link if you have another PC with 192.168.0.3 it will send 1Gb down the other link. Same problem when going from switch to NAS
0 -
Hi PeterUK, thanks for getting back to me.
I am sorry though, I don't understand your answer.
0 -
Have two PC's upload a big file to your NAS ideally
one odd IP one even like 192.168.0.2 and 192.168.0.3given the XGS1250-12 is MAC SA & DA LAG hash it be by odd and even MAC of the PC's0 -
This has nothing to do with two PCs
I am trying to set it up so that one PC can upload a single file to the NAS at 2Gb/s
0 -
You can't LAG don't work that way for one PC
0 -
Hello @mickypen
Your concern regarding achieving half speed with LAG should be explained by its inherent behavior. When a single user sends data to the NAS, the switch directs this single traffic flow through one physical port, capping the speed at 1Gbps. This is a standard behavior for link aggregation, where individual traffic flows don't exceed the bandwidth of one link.
The real advantage of LAG comes into play when multiple users (such as PCs) are interacting with the NAS. Each user can potentially use a different link, allowing for better overall utilization of the aggregated bandwidth.
Additionally, the redundancy feature of LAG ensures that your NAS remains accessible even if one link goes down, providing greater network resilience.
See how you've made an impact in Zyxel Community this year!
Nami
0 -
Thank you all for your explanations
0 -
It's important to understand that while the bandwidth of a 2-port LAG link is 2Gbps, an individual flow will max out at 1Gbps. It's a highway with a 100MPH speed limit. We can add another lane and 2 cars can go 100MPH, but a single car can never go 200MPH. We're increasing the amount of traffic that can be carried, but not the max speed.
EDIT: I picked up this analogy from PatrickFarrell on SpiceWorks a while back. Great conversation in that thread about LAG and LACP btw.0
Categories
- All Categories
- 415 Beta Program
- 2.4K Nebula
- 151 Nebula Ideas
- 98 Nebula Status and Incidents
- 5.7K Security
- 271 USG FLEX H Series
- 274 Security Ideas
- 1.4K Switch
- 74 Switch Ideas
- 1.1K Wireless
- 42 Wireless Ideas
- 6.4K Consumer Product
- 250 Service & License
- 389 News and Release
- 84 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.6K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 74 Security Highlight