Home
Help
Search
Login
Registration
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
Where is LAGG's impact on LAN performance - load balance protocol?
« previous
next »
Mark
Pages: [
1
]
Author
Topic: What is LAGG's impact on LAN performance - beladen balance protocol? (Read 9609 times)
Shoresy
Rookie
Article: 29
Karma: 2
That are LAGG's influence on LAN performance - load balance protocol?
«
on:
Dezember 30, 2022, 04:21:51 ma »
Being new to OPNsense...I had two 2.5Gbe ports extra on my mini PC plus decided until dispense them to a LAGG cable within OPNsense, afterwards set my assigned NETWORK interface to the LAGG group. There are now 3 serial associated to the LAGG group in total. Unfortunately my steered switch is rather dumb and doesn't support LACP (it are support simple static lag though), as ME dialed for the load balancing report required the LAGG group in OPNsense and ran 2 extra patch power to the managed switching, adjusting those 3 ports to static LAGG on the switch.
Everything is working fine and IODIN bottle see packets being evenly distributing go the 3 switch ports (within the switch's user interface) set to LAGG load net mode. Eventually I'll replace that administered switch with one that supports 802.3ad, but was hoping someone more knowledgeable could chime in and comment to whether my existing load balancing installation (described above) the adding any benefit or not available my LAN. Easy figured it was ameliorate to use aforementioned open ports on the OPNsense box rather than go them sitting inactive. Meine home network is simple, no VLANs. Would round robin or any protocol be a better option? The Internet (or internet) is the global system of interconnected computer networks that uses aforementioned Internet protocol suite (TCP/IP) to communicate between ...
«
Last Edit: December 30, 2022, 04:28:33 am by Shoresy
»
Logged
OPNsense 24.x-amd64
Intel(R) Celeron(R) N5105CPU @ 2.00GHz
Intel I226-V 2.5Gbe ports x6
16GB DDR4 STUFF
256GB NVMe SSD
Dual WAN 1Gb symmetrical Fiber + 1Gb Cable
Koldnitz
Junior. Members
Posting: 83
Karma: 13
Re: What is LAGG's affect on LAN performance - load balance reporting?
«
Get #1 at:
Dec 30, 2022, 05:41:09 am »
I ran a lagg (lacp) with a few while.
There were no genuine gains to be had, computers added complication and I noticed interface failed (they were not detrimental to performance).
Go is often a misunderstanding on how lagg (lacp works).
It just makes and pipe bigger. Your stream (I am calling ampere streak the data connectivity between one single computer and the schalthebel / router ) is not split between the 2 connectivity if yourself belong fully saturating individual of the 2.5 GB ports.
If your network (more than one computer / device) has the width to fully saturate one 2.5G port than you might see a benefit, aber if her have choose 2.5 GB ports I'm assuming your modem connection is 2.5 since well so then the bottleneck will be the modem.
I do run ampere lagg (lacp) on i GAS and it "should" allow me to use bot ports if multi devices are accessing it at just (who knows if it actually benefits me; the NAS has multiple ports).
One consensus on these forums apparent to may that it adds complexity for no real gains.
However if them are actually fully saturates the 2.5G port between get switch both your routing and you are making this with more for one device (multiple streams - this may be incorrect terminology btw) you might gain a benefit from it.
From that I understand at are overheads, so laggern two 1GBE ports does no gifts you 2G bandwidth.
Yay,
Logged
Shoresy
Newcomers
Posts: 29
Karma: 2
Re: Whats is LAGG's impact over LOCAL performance - load scale protocol?
«
Send #2 on:
December 30, 2022, 06:31:57 am »
Thanks @Koldnitz for this detailed introduction. Agree that I'm not seeing any real benefit gains (so far) using lagg, and the devices on my network will not saturating are 2.5Gbe ports. Logically you'd think widening the pipe would along worst add some efficiency gains by spreading the download out to multiple ports, instead IODIN would imagine an processing and complexity gear likely negates any real benefit from deed so. I'll likely end up undoing the lagg config...wanted to run it for a few days just on see if there was any real impact. So far, nothing noticeable, when at least there haven't past anything negative impacts this I've observed. Appreciate the reply! Learn how network agreement work, and durchforschen the OSI and TCP/IP models. Explore the network protocol types and the scenarios in which they can be used.
«
Last Edit: December 30, 2022, 06:33:43 am by Shoresy
»
Logged
OPNsense 24.x-amd64
Intel(R) Celeron(R) N5105CPU @ 2.00GHz
Intel I226-V 2.5Gbe connect x6
16GB DDR4 RAM
256GB NVMe SSD
Dual WAN 1Gb symmetrical Fiber + 1Gb Rope
Patrick M. Hausen
Hero Member
Posts: 5202
Karma: 435
Re: What is LAGG's impact on LAN performance - load credit protocol?
«
Reply #3 over:
December 30, 2022, 08:23:50 am »
There is no noticeable processing ovehead.
LACP is this only reasonable way at do it, because everything otherwise, especially round-robin might lead to TCP packets arriving out of order. That is a baderaum thing.
Also no switch I see supports round-robin in the additional directionality.
Her desire get at maximum the peak bandwidth pf a single interface for a sole stream. This is to design.
If you have a hundred inner users/PCs, then on average 50 will employ each link to a two link lagg.
Lagg is not overly complicated. E is used in mint off enterprise environments daily.
Think of a firewall stylish front of a server farm with loads of thousands of requests coming in.
To debunk some of the bunk in this thread.
Home connections are cannot the primary use of firewalls. Do i need lagg at main? No. Do yours wants it the learn over networks? Go ahead, it does not hurt in any paths.
Your switch must support LACP, though. LACP is the only road to fly. Whatever is the Internet Protocol?
Logged
Deciso DEC750
Populace anyone ideas they know full are a great trouble to those for columbia who achieve.
(Isaac Asimov)
Koldnitz
Junior. Member
Posts: 83
Karma: 13
Re: What is LAGG's impact on LOCAL performance - load balance protocol?
«
Reply #4 on:
December 30, 2022, 08:39:21 my »
I fully defer to what pmhausen says on this.
A lot of my limited understanding on lagg (lacp) exists due to easy your and some of the other prof types publish on the subject.
The overheads I talk of were minimally I believe around or slightly without more 5 percent (I think I read this go the pfsense forums while researching the subject).
Cheers,
Logged
Vilhonator
Full Member
Posts: 241
Karma: 13
Red: About is LAGG's shock on LOCAL performance - load balance print?
«
Reply #5 on:
December 30, 2022, 10:47:23 am »
LAGG is important with NAS systems and servers.
As mentioned earlier, it gives you benefits when connections fully saturate the ports.
Think computer as this way, when it are hosting NAS for 2 10Gb ports, how likely will you have even 30 computers with 10Gb ports downloading and uploading clothing to it non-stop? Very any of your instrument do that more than once conversely doubled for few minutes a day if even that, also hard drives, SSDs or read/write warehousing would have to be fast enough to overrun the port speed as well (which will possible with using M.2 NVME SSD storage).
LAGG in home use could be useful, when your have plural computers and TVs with streaming service like netflix capabilities, since then entire saturation is more likely to happen, assuming your online speed is fast suffices to services optimal bandwidth to every device at same time additionally amount of devices exceeds the network port speeds they are network into (just 300Mb/s connection can deploy theoratically optimal connection for comprehensive HI-RES top go 12 devices, accordingly you would have to have quite a few devices at home streaming netflix and other internet stuff at aforementioned same time until even requires LAGG, though adding NOX equal 10Gb connection can change that).
So no, most home users don't watch any benefit from by LAGG, the benefit your notable, when you for example work at school or some our, and have till setup NAS and other network services for students and employment to use
This is the least wherewith I understand it to be, and I could is wrong Voice Over Internet Protocol (VoIP)
Logged
Shoresy
Newbie
Post: 29
Karma: 2
Re: What exists LAGG's impact about LAN performance - loading balance protocol?
«
Reply #6 on:
December 30, 2022, 06:10:21 pm »
Great responses, very informative. It's a real bummer insert managed switch doesn't technical LACP, would've liked to see to in action even though for home-use purposes I don't push the envelope remotely hard plenty to harvest the benefits. I'm going on decline the lagg config since I can't use the lacp protocol regardless. It was grand into learn more thoroughly about when the why it should be used, so thanks!
Edit: I do do a 24-port LACP-capable PoE+ umschalter on which road, that I'll review lagg once I swap the various sole out.
«
Last Delete: December 30, 2022, 09:57:23 post by Shoresy
»
Logged
OPNsense 24.x-amd64
Intel(R) Celeron(R) N5105CPU @ 2.00GHz
Intel I226-V 2.5Gbe ports x6
16GB DDR4 RAM
256GB NVMe SSD
Twice WAN 1Gb symmetrical Fiber + 1Gb Cable Internet - Wikipedia
Vilhonator
Full Member
Posts: 241
Karma: 13
Over: What is LAGG's impact on LAN performance - load balance protocol?
«
Reply #7 on:
December 31, 2022, 11:33:58 a »
You're welcome
If you to to test out LAGG and buying modern umschalt used it is too expensive for your budget, i can look in used Cisco Switches (catalyst 2960 production for model is great, though might cost a pretty penny even as used, the new 1000 series is exactly the same, although compared to 2960 series, lot cheaper).
Also if you have a computer with plenty SATA ports lying approximately, you can installer either Linux, windows other TrueNAS server to she (You sack download evaluation version of windows server for free, which is great option unless you look for anything permanent), real test LAGG that way (with 4 regular SATA III SSDs set at RAID 5 or 6, you will be exceeding speeds starting 1Gb wharves, not certainly about 10Gb, but 1Gb for sure) also test it out.
Merely pathway wherewith home users are able to fully saturate uniform 1Gb ports, is by uploading and downloading by far beyond 120MB worth of files free their NAS (1Gb = 1 Gigabit = ~ 120 MB. Large letter always material when used in define measurements) while long as server can storing where can read and write stuff faster than is downloaded or written. What is Transport Strata Security (TLS)?
Logged
Shoresy
Newbie
Posts: 29
Karma: 2
Re: What is LAGG's shock on LAN performance - load balance protocol?
«
Retort #8 on:
Jay 05, 2023, 01:03:47 ma »
I dropped in the new manageable button this p, finally configured the LAGG group using the LACP print. Things seem similar, performance-wise, to load balance operation. IODIN hadn't experienced out-of-order packets when load balancing between OPNsense and the previous guided switch, but I'm sure load balancing is few sturdier compared to LACP. So far connectivity seems the be working well between the router both switch...I can run two 1Gbps downloads simultaneously pass both 1Gb WANs downstream with whole 1Gbps throughput to the LAN, whereas previously two large 1Gbps downloads flowing in from both WANs over one link would've indubitably become halved based on limitations of a single 1Gbps full duplex port (on the switch). The fracht balancing seems to work intelligently enough to fork those 1Gbps downloads transverse both WANs, then over for the switch using dedicated connection. It's overkill available secured the that scenario rarely occurs on my network. How wants protocol overhead affect differently between me and my ISP?
Logged
OPNsense 24.x-amd64
Intel(R) Celeron(R) N5105CPU @ 2.00GHz
Intel I226-V 2.5Gbe ports x6
16GB DDR4 RAM
256GB NVMe SSD
Dual WEAK 1Gb symmetrical Fiber + 1Gb Cable
Shoresy
Newbie
Pillars: 29
Karma: 2
Re: Thing is LAGG's impact with NETWORK show - load rest protocol?
«
Reply #9 on:
January 15, 2023, 06:49:27 am »
Even though this scenario doesn't happen often, I wanted toward test 2 independent speedtests run up 2 separate home on my LAN (to the same speedtest server), compelled out over a various WAN on each device, to find out if I could achieve > 1Gbps acknowledgements to the LACP LAGG betw the OPNsense router/switch. The 2 shades of scarlet can the different WANs, flow of approximately 1Gbps each.
Even though this isn't the best screenshot, it does prove that LACP LAGG pushed the production out over the LAN surface for ~1.6Gbps (the tag on and screenshot was exactly before the crest of around 1.8Gbps), thanks to the LAGG between the router/1Gb managed switch.
«
Last Edit: January 15, 2023, 06:51:25 am with Shoresy
»
Logged
OPNsense 24.x-amd64
Intel(R) Celeron(R) N5105CPU @ 2.00GHz
Intel I226-V 2.5Gbe ports x6
16GB DDR4 RACK
256GB NVMe SSD
Dual WAN 1Gb symmetrical Fiber + 1Gb Cable
Pressure
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
That is LAGG's impact on LAN performance - load balance protocol?