Public bug reported:

Traffic between two accelerated (remote-managed) VMs runs in DPU
hardware at about 196 Gbit/s. If there is a Neutron router (SNAT or
floating IP) in between and every packet drops to the DPU's software
cores, at about 100–113 Gbit/s.

By default the OVN router uses two conntrack zones. It commits each
connection in only one of them but looks it up in both, and the lookup
that never hits can't be served from hardware.


Workaround:
ovn-nbctl set NB_Global . options:use_common_zone=true
ovn-nbctl --wait=hv sync
ovn-nbctl remove Logical_Router_Port lrp-ef60b806-b0f3-436d-8812-ea04642fd68f 
options gateway_mtu

After this routed traffic is fully offloaded at about 198 Gbit/s with
the PMDs idle.


Versions in the report:
- OpenStack 2024.1 Caracal, Neutron 24.2.2, ML2/OVN
- OVN 24.03.9 (northd and ovn-controller)
- BlueField-3 in DPU mode, OVS-DOCA 3.6.0038 (OVS library 3.3.9), DOCA 3.6.0084
- Ubuntu 24.04.5 on the DPU, kernel 6.8.0-1036-bluefield

** Affects: ovn (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2175605

Title:
   Routed (SNAT/FIP) traffic between two hardware-offloaded ports is not
  offloaded on BlueField-3: router NAT is split over two conntrack zones

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ovn/+bug/2175605/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to