OpenWrt for 25Gbit Internet possible?

Hi there.

Im trying to find a good Software Router and or Firewall to manage my Fiber 25Gbit Connection.
I tried it with Opnsense. It cannot handle more then 9.5Gbit.

May actual Opnsense Box Hardware:
Intel 9900
32G Ram
500GB Samsung NVME
Intel XXV710 Dual SFP28 NIC

Does anyone had some experience with more then 1G / 10GWan Connections?
How well does Opnwrt perform?

Look 25Gbps is crazy fast internet. This starts to get into the category where you need dedicated router ASICs etc. General purpose computers should be ok up to about 10Gbps. But think about it this way, at 10Gbps you can process 10e9/1500/8 = 833k packets per second. At 1Ghz that's about 1200 clock cycles per packet. Which is around 1 clock cycle per byte.

1 Like

I have never heard about 25Gbps before so how can anyone have tried it since 10Gbps is extreme level.

I am not really sure how many cores Openwrt actually can use, if it actually can use 8cores that actually do anything simultaneously.

But that processor run at max 5GHz per core, hopefully the drivers handle data on both pos and neg flank so that means 10G thoughts per second per core, which is where your 9,5Gbps you mention end up, plus overhead to manage the router internals.
If you want to think about the content of 25Gbps data in the router you need more power. A lot more power.

25x faster is like going from 40 Mb to 1Gb all over again. It would of course be interesting to try and compare since they are completely different kernels and drivers. But at the end both OpenWrt and Opnsense are both built around the networking stack of a general-purpose OS running on a general-purpose CPU.

You seem to have the appropriate WAN network and corresponding hardware (at least SSD and RAM are a bit of a waste, but that's not a problem either), now there's just one thing left to do - test OpenWrt.
Just write it to a USB stick and have a go, shouldn't take you more than 5 minutes (if the necessary NIC kernel modules are packaged, if not, you'd have to do that first and build from source, not trivial, but very much doable, especially for x86_64). Admittedly, >=10 GBit/s might warrant some further fine tuning for optimal performance, but you should already get a good first impression in next to no time.

1 Like

fine tune *sense or just run openwrt from usb drive, openwrt will do more than 25gbps on this cpu, net card on cpu x16 pcie slot?

You'll know after testing it (size or performance of the block storage, aka SSD vs USB stick, does not matter in the slightest for OpenWrt and its ability to route at full speed). Practical experiences above 1 GBit/s are already scarce, 10 GBit/s even more so - I have not heard of anyone trying beyond that so far - so be the first to find out.

Yes. The xxv710 DA2 Dual Nic is PCIE x8

I have done so on Linux (10 Gbps), not specifically OpenWrt.

I tried openwrt from e Pendrive. But my Intel 710 nic doesnt get recognized. How to get the nic up and running?

out of curiosity - where is this available?

2 Likes

I am running Linux virtually, the NIC is recognized by the Kernel (VMXNET 3).

Did you install the drivers?

How can i install the drivers?

Try:

One way to get a (very?) rough benchmark for a specific OS's throughput is to run iperf3 tests between two sessions on the same machine, using the loopback interface. Since this takes the NICs right out of the equation, you get a feel for how the software behaves.

Here's what I see running OpenWrt 22.03.2 on a 4-core AMD Jaguar (apu2):

$ iperf3 -c 127.0.0.1 -P 8
...
[SUM]   0.00-10.00  sec  5.42 GBytes  4.65 Gbits/sec

And on an AMD 3950x running Windows, but with '-P 16':

[SUM]   0.00-10.01  sec  22.5 GBytes  19.3 Gbits/sec

I did same test on the apu2 test using OPNsense a while back and if I remember right it was about 3x slower (!!!) than OpenWrt, something like 1.5Gbps.

Can de drivers be included in the stick because when i shut down my Opnsense box i dont have andy internet connection

Please run iperf3 -c 127.0.0.1 and post results here to make router database - #29 by slh +/- some posts.

They can, through the online image builder, or by DLing them, and putting the IPKs on the drive.

1 Like

As soon the Box is running i make every Benchmark you want.
But from now a Linux NOOB like me try to the integrate this drivers.....

Where are theses packages to download from a Windows machine?
Or should i try the image builder. Because i cannot open the Pendrive in Windows.

Image Builder meant that? https://firmware-selector.openwrt.org/?version=22.03.2&target=x86%2F64&id=generic

And to integrate just write the package name?

1 Like

downloads.openwrt.org, then drill down to the packages of the release, and arch.

Should be, yes.

1 Like