rx queue hashing for tunelled traffic
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Nov 2025 10:34:59 UTC
Hello, group
I have a network spreading multiple datacenters with FreeBSD 14.3
routers with Mellanox NICs providing connectiviy between VMs within and
between datacenters. Within datacenters the routers have multiple VLANs
and between them traffic is tunelled, either using Wireguard over the
Internet or gif(4) over my own fibers. There is pf running on the routers.
Unfortunately each tunnel is a single flow which ends up on a single rx
queue and a single interrupt. On each router there is always one CPU
core with way more usage and ps shows one intr{irqX: mlx5_core0} and one
intr{swi1: netisr X} consuming the most of CPU time.
It seems to me that the only option to get rx hashing working is to use
tunnel that is hardware accelerated in the NIC. And that would be vxlan,
which seems hardware accelerated on Mellanox. But my NICs are behind
lagg and this feature is not passed through.
Any other ideas?
--
| pozdrawiam / regards | Powered by Debian and FreeBSD |
| Kajetan Staszkiewicz | www: http://tuxpowered.net |
| | matrix: @vegeta:tuxpowered.net |
`----------------------^--------------------------------'