DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] hash: add SVE support for bulk key lookup
@ 2023-08-17 21:24 Harjot Singh
  2023-08-17 21:24 ` [PATCH 1/1] " Harjot Singh
  0 siblings, 1 reply; 3+ messages in thread
From: Harjot Singh @ 2023-08-17 21:24 UTC (permalink / raw)
  Cc: dev, nd, Harjot Singh

- Add SVE code to compare_signatures().
- Tested on Aarch64 N2 based platform with 128 bit vector registers. 

Performance Numbers from hash_perf_autotest :

Elements in Primary or Secondary Location

Results (in CPU cycles/operation)
-----------------------------------
 Operations without data

Without pre-computed hash values

Keysize     Add/Lookup/Lookup_bulk
            Neon         SVE
4           93/71/26     93/71/27
8           93/70/26     93/70/27
9           94/74/27     94/74/28
13          100/80/31    100/79/32
16          100/78/30    100/78/31
32          109/110/38   108/110/39

With pre-computed hash values

Keysize     Add/Lookup/Lookup_bulk
            Neon         SVE
4           83/58/27     83/58/29
8           83/57/27     83/57/28
9           83/60/28     83/60/29
13          84/60/28     83/60/29
16          83/58/27     83/58/29
32          84/68/31     84/68/32

Note: Functionality verified with 256 bit vector length platform.

Harjot Singh (1):
  hash: add SVE support for bulk key lookup

 .mailmap                   |  1 +
 lib/hash/rte_cuckoo_hash.c | 37 ++++++++++++++++++++++++++++++++++++-
 lib/hash/rte_cuckoo_hash.h |  1 +
 3 files changed, 38 insertions(+), 1 deletion(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-09-29 15:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-17 21:24 [PATCH 0/1] hash: add SVE support for bulk key lookup Harjot Singh
2023-08-17 21:24 ` [PATCH 1/1] " Harjot Singh
2023-09-29 15:36   ` David Marchand

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).