mbox series

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

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

Message

Paolo Valerio July 1, 2022, 6:13 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

v6:

- removed lock on a connection (unneeded)
- minor rename and added two hunks slipped away from the refresh

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      |  98 +++++----------
 lib/conntrack.c         | 257 +++++++++++++++++++++++-----------------
 lib/conntrack.h         |   4 +-
 lib/dpif-netdev.c       |   5 +-
 5 files changed, 241 insertions(+), 213 deletions(-)