Nebula benchmarks need to be published. #911
Replies: 11 comments 9 replies
-
This article presents no methodology whatsoever and is entirely inaccurate in its representation of Nebula's performance. Nebula is used to do many gigabits per second in production on hundreds of thousands of hosts. I'll gladly help them improve their testing, if they'd like. |
Beta Was this translation helpful? Give feedback.
-
These tests are meaningless (at least in a way how "Netmaker" team presents them). It's not surprising that kernel WG implementation is quicker than Nebula, purely due to how Go vs C performs in these kind of scenarios. In terms of implementation: "Netmaker" uses a lot of 3rd party garbage with it's own overhead (things like SQLite, RabbitMQ or some other MQ broker, REST API endpoints, etc), while Nebula is purely based on gossip/noise clustering protocols. It terms of testing:
At this point, it simply looks like something they wanted to quickly "check" in their lab to confirm the bias, and to promote the "Netmaker" solution. Don't get me wrong, I would love to have super fast overlay networking they are offering, but their tests are simply useless, unfortunately. On the other hand, it would be really nice if someone from the Nebula team performed their own set of tests against popular contenders like IPSec, WG, and OpenVPN. It would certainly give us all something to look at, when picking a right solution for the job. I tried looking this up a number of times, to show something easy-to-digest for my clients, but every time we had to do the lab based tests on their own hardware, because there was nothing meaningful publicly available at the time. My rule of thumb is: if there are more then 10 clients (network clients that is), with a mix of server/client architectures and point-to-point connection requirements - definitely use Nebula for the ease of management and it's inbuilt firewall. But if it's a purely site-to-site VPN solution, or a purely client/server architecture with 0.0.0.0/0 forwards then certainly go for WG. |
Beta Was this translation helpful? Give feedback.
-
I've reopened this ticket and renamed it to something more meaningful as a pointer for this discussion. Thanks all who added to this. Let's make benchmarks not suck. |
Beta Was this translation helpful? Give feedback.
-
Because I already had Nebula up-and-running on some of my nodes, here are the quick numbers (TLDR ~7% performance degradation, if my maths is correct): Bare line speed:
Nebula speed:
Both nodes are located in the same network subnet, and connected to multiple LightHouses for HA. Both are running FreeBSD and PF with logging on (that's why the speed is a bit below 1024 number, even in the bare line test). I did not tune the This alone is enough to prove that "Netmaker's" tests were pulled out from you know where, lol |
Beta Was this translation helpful? Give feedback.
-
At the end, I'd definitely like to have a Google sheet that will be able to be updated, and contain all the raw data in other sheets that will feed into a primary "summary" sheet. I'm going to start one here: https://docs.google.com/spreadsheets/d/19gnLwBtajLw_7xpo-4LIdx26jzoqv6TrOLERYg0QFuQ/ I'm going to start feeding the suggestions in as they get added to this entry |
Beta Was this translation helpful? Give feedback.
-
No G-Sheets please. I'd rather like to see a README page in a Nebula team controlled Git repo in a MarkDown format. It will be much easier to take in user inputs and track/roll back any changes, aka via PR. |
Beta Was this translation helpful? Give feedback.
-
It's also possible the original article was valid because they were using windows. Apparently there's been 2 year plus long-term outstanding issues with sub-optimal nebula performance on windows. @rawdigits one of these is yours and still appears as an unresolved PR? |
Beta Was this translation helpful? Give feedback.
-
Hi all! I came across this discussion from a Hacker News thread. At the moment, the Netmaker article is one of the top results when searching for Might be a sign that a blog post with new metrics from your side would be a good idea? |
Beta Was this translation helpful? Give feedback.
-
These kinds of benchmarks are really only useful for marketing and don't really represent an accurate image of a product. It's pretty easy for someone with deep networking knowledge to scew results in favor of one tool or another. I'm not saying that's what was done in this case, but it's important to keep in mind. As a counter example, I can imagine a number of scenarios where Nebula's emphasis on direct connections when possible would actually increase performance in certain situations. Conversely, I understand that wireguard has a built in kernel module on Linux, and that this may benefit performance for wireguard based connections, but that is just one factor among many and is highly dependant on network topology, network settings, etc. In my setup, for example, I have basically identical speeds in Nebula as my unencrypted lan because I modified the configuration properly and set In general it is best to understand the problem you are trying to solve and which tool is best for your specific usecase. For me, Nebula's decrentralized architecture, sophisticated identity based firewall, and emphasis on connection reliability (with a few lighthouses and relays, you can have basically 100% connectivity all the time) are exactly what I am looking for, and no other tool I've looked at offers the same advantages. I would even be willing to accept a slight performance hit to gain the advantages of Nebula's architecture, but thankfully so far that hasn't really been necessary. If I didn't have a somewhat sophisticated understanding of networking, as well as how CAs work, etc, I may not even be able to grasp these advantages properly, or why they would be useful to me, and I might just believe the FUD too. That is said to illustrate why understanding is the key to choosing the proper tool for the job. If anything I think it is a credit to the Nebula engineers that they don't bother taking part in some silly benchmarking war and instead focus on developing a stellar product. Of course, no product is perfect and there is always room for improvement. I look forward to see how Nebula might improve in the future. |
Beta Was this translation helpful? Give feedback.
-
@nrdxp We really appreciate the kind words. I'm personally very happy to hear you value the design decisions we made to ensure Nebula is reliable, secure, and fast. We sweat every detail, even to this day. And to everyone following this topic, we've finally published our methodology and the first set of test data. It took a long time, but I think it was worth the wait. :) https://www.defined.net/blog/nebula-is-not-the-fastest-mesh-vpn/ (Feedback is always appreciated.) |
Beta Was this translation helpful? Give feedback.
-
https://medium.com/netmaker/battle-of-the-vpns-which-one-is-fastest-speed-test-21ddc9cd50db
Results speak for themselves. :(
Just noticed the article writer is the CEO of the 2nd place VPN...hopefully this isn't skewed tests that were setup in a specific configuration to give a more favorable light to Netmaker
UPDATE EDIT: Work on a better temporary Google sheet with better data can be found here till repo for project is started: https://docs.google.com/spreadsheets/d/19gnLwBtajLw_7xpo-4LIdx26jzoqv6TrOLERYg0QFuQ/
Beta Was this translation helpful? Give feedback.
All reactions