!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

897 Members
Declaratively manage your switching, routing, wireless, tunneling and more.262 Servers

Load older messages


SenderMessageTime
17 Aug 2021
@janne.hess:helsinki-systems.dedas_j changed their display name from Janne Heß to das_j.16:26:13
@andi:kack.itandi-Another reason to use nft: It does support hardware offloading of rules via TC flower16:30:24
@andi:kack.itandi-and a surprising amount of nics seem to support that at least partially16:30:35
@andi:kack.itandi-mlx5 and some random mediatek device support flow table offloading16:32:14
@linus.heckemann:matrix.mayflower.deLinux Hackermanoh wow16:32:21
@linus.heckemann:matrix.mayflower.deLinux HackermanOn the one hand, I love that we have stuff like runInLinuxVM. On the other, I hate that it's necessary for this 😅16:32:51
@andi:kack.itandi-I think you can remove the kernel modules part above but then the closure is bigger. IIRC I copied the modules from our VM tests16:33:15
@andi:kack.itandi-Unfortunately the code looks like it aborts if you request hw offloading instead of falling back to the software implementation16:43:42
@andi:kack.itandi-so, I kinda want to replace my APU2 with something that has an mlx5 now.16:46:48
@janne.hess:helsinki-systems.dedas_jAh can you tell me when you find something good? Because I have an APU2 as well and I would also prefer something with offloading16:48:23
@nixinator:nixos.devnixinatorwhere can i read about flow offloading?16:48:37
@nixinator:nixos.devnixinatoris this like checksum offloading? 16:48:55
@eyjhb:eyjhb.dkeyJhb
In reply to @janne.hess:helsinki-systems.de
oof is this really the only way? :/
Hey, at least you can easily test this, instead of a ton of iptables commands in a row or something :p
16:52:35
@eyjhb:eyjhb.dkeyJhbAlso.... Atomic switching of rules... 16:52:51
@janne.hess:helsinki-systems.dedas_j
In reply to @eyjhb:eyjhb.dk
Hey, at least you can easily test this, instead of a ton of iptables commands in a row or something :p
But it doesn't really scale for a bunch of cloud nodes that all have their own local firewalls
16:52:59
@eyjhb:eyjhb.dkeyJhbWhy not?16:53:17
@janne.hess:helsinki-systems.dedas_j You wouldn't use it for networking.firewall on all devices 16:53:17
@linus.heckemann:matrix.mayflower.deLinux Hackermanwhy not? 16:53:20
@janne.hess:helsinki-systems.dedas_joof16:53:23
@eyjhb:eyjhb.dkeyJhbBøf16:53:27
@janne.hess:helsinki-systems.dedas_jBecause it spawns a VM for every simple firewall change? That feels kind of wasteful and slow16:53:43
@janne.hess:helsinki-systems.dedas_jIf I want changes on my systems to take ages, I have Ansible right here16:54:00
@linus.heckemann:matrix.mayflower.deLinux HackermanIt is a tiny VM though.16:54:01
@schnecfk:ruhr-uni-bochum.deCRTified
In reply to @janne.hess:helsinki-systems.de
Because it spawns a VM for every simple firewall change? That feels kind of wasteful and slow
But if there's a way to test something, not testing it seems more wasteful 🤔
16:54:08
@schnecfk:ruhr-uni-bochum.deCRTified
In reply to @janne.hess:helsinki-systems.de
Because it spawns a VM for every simple firewall change? That feels kind of wasteful and slow
* But if there's a way to test something beforehand, not testing it seems more wasteful 🤔
16:54:14
@linus.heckemann:matrix.mayflower.deLinux Hackerman presumably eyJhb or andi- can say more regarding how quickly that VM runs (I don't use nftables yet), but runInLinuxVM is pretty minimalistic — it spins up the kernel, mounts the store, runs the derivation build script, and shuts down again. I don't think it would take more than 2 or 3 seconds. 16:56:31
@janne.hess:helsinki-systems.dedas_jWe might give it a shot16:56:55
@janne.hess:helsinki-systems.dedas_jBetter than nothing16:56:59
@linus.heckemann:matrix.mayflower.deLinux Hackermannot much more than evaluating the system or stuff like that in any case16:57:31
@andi:kack.itandi-It isn't slower than a regular build for me.17:10:19

There are no newer messages yet.


Back to Room ListRoom Version: 6