Am Mon, Aug 24, 2026 at 12:41:14PM +0200 schrieb Paolo Valerio: > On 21 Jul 2026 at 12:56:33 PM, Felix Huettner via dev > <[email protected]> wrote: > > > Previously we guarded expectations using an rwlock. While there are > > generally only a few or none expectation entries, taking and releasing > > the rwlock in read mode still takes more time than using a cmap. > > > > When doing a loadtest with OVN and natting across two LRs we increased > > our packet rate from 2.5 Mio pps to 12 Mio pps with only 40% of the > > nit: Mpps is more grep friendly
thanks, will fix that. > > > previous load. This mainly comes from the UNSNAT and UNDNAT stages of OVN > > that > > generally do not match anything as long as we are in not specific cases. > > > > numbers are interesting. Moving this to cmap was for sure something > beneficial, so thanks for taking care of it. > > Can you please elaborate a little on your test setup, e.g. threads, > rxqs, type of traffic and so forth? I'll just share them here, if i should add that to the commit message let me know. The tests where done with some basic iperf3 between 2 openstack VMs. This was a multistream iperf using TCP. I don't know the amount of streams anymore, but it was a rather large number to utilize as many rxqs as possible. each of these 2 VMs was connected to its own LS (project network). On each of the LS the was also a LR (project router) connected. The LR had an additional leg to an LS with localnet port (external network). On each LR there was a dnat_and_snat rule for the respective VM (floating ip). One of the LRPs was placed on a gateway chassis with netlink ovs. The other LRP was on a chassis with netdev ovs. The netdev one had: * 60 cores allocated as PMDs * Connect-X 6 NIC with 2x100G * each interface had 120 rxqs (auto-lb and similar was on) This was also a followup of the previous commit. So the cause seemes to still be the conntrack lookups that will most likely not hit. If you want to know more let me know. Thanks, Felix > > > Co-Authored-by: Florian Werner <[email protected]> > > Signed-off-by: Florian Werner <[email protected]> > > Co-Authored-by: Sebastian Riese <[email protected]> > > Signed-off-by: Sebastian Riese <[email protected]> > > Signed-off-by: Felix Huettner <[email protected]> > > --- > > > > Notes: > > v3->v4: smaller changes > > > > lib/conntrack-private.h | 9 ++-- > > lib/conntrack.c | 112 +++++++++++++++++++--------------------- > > lib/conntrack.h | 5 +- > > 3 files changed, 60 insertions(+), 66 deletions(-) > _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
