Message ID | 20230817212417.3637080-1-Harjot.Singh@arm.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B1E1E43094; Thu, 17 Aug 2023 23:24:37 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 316D8406A2; Thu, 17 Aug 2023 23:24:37 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 81E8F4013F for <dev@dpdk.org>; Thu, 17 Aug 2023 23:24:35 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 929F3D75; Thu, 17 Aug 2023 14:25:15 -0700 (PDT) Received: from 2u-thunderx2.usa.Arm.com (unknown [10.118.12.78]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 9FD3A3F6C4; Thu, 17 Aug 2023 14:24:34 -0700 (PDT) From: Harjot Singh <Harjot.Singh@arm.com> To: Cc: dev@dpdk.org, nd@arm.com, Harjot Singh <Harjot.Singh@arm.com> Subject: [PATCH 0/1] hash: add SVE support for bulk key lookup Date: Thu, 17 Aug 2023 21:24:16 +0000 Message-Id: <20230817212417.3637080-1-Harjot.Singh@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Series |
hash: add SVE support for bulk key lookup
|
|
Message
Harjot Singh
Aug. 17, 2023, 9:24 p.m. UTC
- 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(-)