mbox series

[ovs-dev,v5,0/5] conntrack: Improve multithread scalability.

Message ID 165659186399.1543933.7694766166921029898.stgit@fed.void
Headers show
Series conntrack: Improve multithread scalability. | expand

Message

Paolo Valerio June 30, 2022, 12:24 p.m. UTC
This series tries to solve the issue present in the previous version.
The end result is a different approach, using different data structure,
but it solves the multiple issues that affected the previous version and 
the problemans that affected the baseline.

The preliminar tests (similar to the ones previously performed by Robin 
[0]) show performance comparable with the v4 both in terms of cps
and throughput.

[0] https://mail.openvswitch.org/pipermail/ovs-dev/2022-June/394711.html

Gaetan Rivet (4):
      conntrack: Use a cmap to store zone limits
      conntrack-tp: Use a cmap to store timeout policies
      conntrack: Replace timeout based expiration lists with rculists.
      conntrack: Use an atomic conn expiration value

Ilya Maximets (1):
      conntrack: Check for expiration before comparing the keys during the lookup


 lib/conntrack-private.h |  90 +++++++++-----
 lib/conntrack-tp.c      |  99 +++++-----------
 lib/conntrack.c         | 253 +++++++++++++++++++++++-----------------
 lib/conntrack.h         |   4 +-
 lib/dpif-netdev.c       |   5 +-
 5 files changed, 242 insertions(+), 209 deletions(-)