On 4/28/21 11:19 AM, Kumar Amber wrote:
v2 updates:
- reabse on to latest DPIF v11

This patchset introduces miniflow extract Infrastructure changes
which allows user to choose different type of ISA based optimized
miniflow extract variants which can be user choosen or set based on
packets studies automatically by OVS using different commands.

The Infrastructure also provides a way to check the correctness of
different ISA optimized miniflow extract variants against the scalar
version.

This Patchset depends on the DPIF patchsets :
http://patchwork.ozlabs.org/project/openvswitch/list/?series=240997

Kumar Amber (6):
   dpif-netdev: Add command line and function pointer for miniflow
     extract
   dpif-netdev: Add auto validation function for miniflow extract
   dpif-netdev: Add study function to select the best mfex function
   dpif-netdev: add avx512 miniflow extract for traffic ip/udp
   docs/dpdk/bridge: add miniflow extract section.
   dpif-netdev: Add configure to enable autovalidator at build time.

  Documentation/topics/dpdk/bridge.rst |  85 +++++++++++
  NEWS                                 |  10 ++
  acinclude.m4                         |  16 ++
  configure.ac                         |   1 +
  lib/automake.mk                      |   4 +
  lib/dpdk.c                           |   1 +
  lib/dpif-netdev-avx512.c             |  23 ++-
  lib/dpif-netdev-extract-avx512.c     | 218 +++++++++++++++++++++++++++
  lib/dpif-netdev-extract-study.c      | 120 +++++++++++++++
  lib/dpif-netdev-private-extract.c    | 190 +++++++++++++++++++++++
  lib/dpif-netdev-private-extract.h    | 137 +++++++++++++++++
  lib/dpif-netdev-private-thread.h     |   4 +
  lib/dpif-netdev.c                    | 126 +++++++++++++++-
  13 files changed, 928 insertions(+), 7 deletions(-)
  create mode 100644 lib/dpif-netdev-extract-avx512.c
  create mode 100644 lib/dpif-netdev-extract-study.c
  create mode 100644 lib/dpif-netdev-private-extract.c
  create mode 100644 lib/dpif-netdev-private-extract.h


Hi,
we (as Red Hat) did some tests with a "special" build created on top of master (a019868a6268 at that time) with with the 2 series ("DPIF Framework + Optimizations" and "MFEX Infrastructure + Optimizations") cherry-picked. The spec file was also modified in order to use add "-msse4.2 -mpopcnt" to OVS CFLAGS.

RPM=openvswitch2.15-2.15.0-37.avx512.1.el8fdp (the "special" build with the patches backported)

  * Master --- 15.2 Mpps
  * Plus "avx512_gather 3" Only --- 15.2 Mpps
  * Plus "dpif-set dpif_avx512" Only --- 10.1 Mpps
  * Plus "miniflow-parser-set study" --- Failed to converge
  * Plus all three --- 13.5 Mpps

RPM=openvswitch2.15-2.15.0-15.el8fdp (w/o "-msse4.2 -mpopcnt")

  * 15.2 Mpps

P2P benchmark
  * ovs-dpdk/25 Gb i40e <-> trex/i40e
  * single queue two pmd's --- two HT's  out of a CPU core.

Host CPU
Model name:          Intel(R) Xeon(R) Gold 6132 CPU @ 2.60GHz

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to