From: Vipin Varghese <vipin.varghese@amd.com>
To: <ferruh.yigit@amd.com>, <bruce.richardson@intel.com>,
<konstantin.v.ananyev@yandex.ru>, <aman.deep.singh@intel.com>,
<dev@dpdk.org>
Subject: [PATCH v2 0/3] app/testpmd: improve sse based macswap
Date: Wed, 21 Aug 2024 20:08:54 +0530 [thread overview]
Message-ID: <20240821143857.1972-1-vipin.varghese@amd.com> (raw)
In-Reply-To: <20240716063724.850-1-vipin.varghese@amd.com>
Goal of the patch series is to improve SSE macswap on x86_64 by
reducing the stalls in backend engine. Original implementation of
the SSE-mac-swap makes loop call to multiple load, shuffle & store.
Using SIMD ISA interleaving, register variable and reducing L1 & L2
cache eviction, we can reduce the stalls for
- load SSE token exhaustion
- Shuffle and Load dependency
Build test using meson script:
``````````````````````````````
build-gcc-static
buildtools
build-gcc-shared
build-mini
build-clang-static
build-clang-shared
build-x86-generic
Test Results:
`````````````
Platform-1: AMD EPYC SIENA 8594P @2.3GHz, no boost
Platform-2: AMD EPYC 9554 @3.1GHz, no boost
NIC:
1) mellanox CX-7 1*200Gbps
2) intel E810 1*100Gbps
3) intel E810 2*200Gbps (2CQ-DA2) - loopback
4) braodcom P2100 2*100Gbps - loopback
------------------------------------------------
TEST IO 64B: baseline <NIC : MPPs>
- NIC-1: 42.0
- NIC-2: 82.0
- NIC-3: 82.45
- NIC-3: 47.03
------------------------------------------------
TEST MACSWAP 64B: <NIC : Before : After>
- NIC-1: 31.533 : 31.90
- NIC-2: 48.0 : 48.9
- NIC-3: 48.840 : 49.827
- NIC-4: 44.3 : 45.5
------------------------------------------------
TEST MACSWAP 128B: <NIC : Before: After>
- NIC-1: 30.946 : 31.770
- NIC-2: 47.4 : 48.3
- NIC-3: 47.979 : 48.503
- NIC-4: 41.53 : 44.59
------------------------------------------------
TEST MACSWAP 256B: <NIC: Before: After>
- NIC-1: 32.480 : 33.150
- NIC-2: 45.29 : 45.571
- NIC-3: 45.033 : 45.117
- NIC-4: 36.49 : 37.5
------------------------------------------------
------------------------------------------------
TEST IO 64B: baseline <NIC : MPPs>
- intel E810 2*200Gbps (2CQ-DA2): 82.49
------------------------------------------------
<NIC intel E810 2*200Gbps (2CQ-DA2): Before : After>
TEST MACSWAP: 1Q 1C1T
64B: : 45.0 : 45.54
128B: : 44.48 : 44.43
256B: : 42.0 : 41.99
+++++++++++++++++++++++++
TEST MACSWAP: 2Q 2C2T
64B: : 59.5 : 60.55
128B: : 56.78 : 58.1
256B: : 41.85 : 41.99
------------------------------------------------
Signed-off-by: Vipin Varghese <vipin.varghese@amd.com>
Vipin Varghese (3):
app/testpmd: add register keyword
app/testpmd: move offload update
app/testpmd: interleave SSE SIMD
app/test-pmd/macswap_sse.h | 27 ++++++++++++++-------------
1 file changed, 14 insertions(+), 13 deletions(-)
--
2.34.1
next prev parent reply other threads:[~2024-08-21 14:39 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-16 6:37 [PATCH] " Vipin Varghese
2024-07-23 16:45 ` Ferruh Yigit
2024-07-23 17:12 ` Bruce Richardson
2024-07-25 12:47 ` Varghese, Vipin
2024-07-25 12:52 ` Bruce Richardson
2024-08-21 14:38 ` Vipin Varghese [this message]
2024-08-21 14:38 ` [PATCH v2 1/3] app/testpmd: add register keyword Vipin Varghese
2024-08-21 14:55 ` Stephen Hemminger
2024-08-27 15:32 ` Varghese, Vipin
2024-08-27 17:39 ` Stephen Hemminger
2024-08-29 8:14 ` Varghese, Vipin
2024-09-03 11:52 ` Konstantin Ananyev
2024-09-06 13:02 ` Varghese, Vipin
2024-10-04 5:04 ` Ferruh Yigit
2024-08-21 14:38 ` [PATCH v2 2/3] app/testpmd: move offload update Vipin Varghese
2024-08-21 14:38 ` [PATCH v2 3/3] app/testpmd: interleave SSE SIMD Vipin Varghese
2024-10-04 5:08 ` [PATCH v2 0/3] app/testpmd: improve sse based macswap Ferruh Yigit
2024-10-08 1:12 ` Ferruh Yigit
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240821143857.1972-1-vipin.varghese@amd.com \
--to=vipin.varghese@amd.com \
--cc=aman.deep.singh@intel.com \
--cc=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@amd.com \
--cc=konstantin.v.ananyev@yandex.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).