From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 11EE2A00C5; Wed, 31 Aug 2022 08:46:50 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E008240395; Wed, 31 Aug 2022 08:46:49 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id ECC2F400D6 for ; Wed, 31 Aug 2022 08:46:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661928408; x=1693464408; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Bdz1aeDiV6f72yjhNmmHRh1KqlTkEFAfnAvFwo/TRvc=; b=CmeHzwhQI2R3JcWmb0oGe//7dAxjj0xsbI0zoo8nMSF2voPKh8CpUIFO 2SOOJtm5DgeacmKN5Zbte2Vo2Ve7Hj2TDxRT4itIC0Gjxn02Zrf7Uyu2I Y3nnefIeW03abCpx2HvHCiwXKeSf9c7RUGSwmsglLPPTaFuv6dK2qQrvw KQOIrFszdgDt25qqJZxzEFmhr3Kh9cRzmYXtUcS7F4DMJGIPrX/2S3E9H bLb+4MJOxYf5r56yt3EaoEdw9IbY+WxSjZrvjJLVydjvOa9iZhWmWkTPu fE2kx6U/d7OP9jvuNhFJSvLGI7jzHymXrfiQO6ae2esqDBMVj1c0ZtMRw A==; X-IronPort-AV: E=McAfee;i="6500,9779,10455"; a="357102885" X-IronPort-AV: E=Sophos;i="5.93,277,1654585200"; d="scan'208";a="357102885" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Aug 2022 23:46:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,277,1654585200"; d="scan'208";a="787774764" Received: from dpdk-lrong-icx-01.sh.intel.com ([10.67.119.18]) by orsmga005.jf.intel.com with ESMTP; 30 Aug 2022 23:46:44 -0700 From: Leyi Rong To: ferruh.yigit@xilinx.com, suanmingm@nvidia.com, yipeng1.wang@intel.com, zaoxingliu@gmail.com, sameh.gobriel@intel.com Cc: dev@dpdk.org, Leyi Rong Subject: [PATCH v2 0/2] introduce NitroSketch Mode into membership library Date: Wed, 31 Aug 2022 14:46:37 +0800 Message-Id: <20220831064639.4163765-1-leyi.rong@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220810074518.1695013-1-leyi.rong@intel.com> References: <20220810074518.1695013-1-leyi.rong@intel.com> 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This patchset introduce a brand new NitroSketch Mode into membership library. This algorithm provides high-fidelity approximate measurements and appears as a promissing alternative to triditional approches such as packet sampling. --- v2: - attach paper link to commit log. - fix potential memory leaks in test_member.c. - build error fix according to CI build fail log. Leyi Rong (2): member: implement NitroSketch mode test/member: add functional and perf tests for sketch app/test/test_member.c | 272 ++++++++++++ app/test/test_member_perf.c | 153 ++++++- lib/member/meson.build | 38 +- lib/member/rte_member.c | 75 ++++ lib/member/rte_member.h | 151 ++++++- lib/member/rte_member_heap.h | 424 ++++++++++++++++++ lib/member/rte_member_sketch.c | 594 ++++++++++++++++++++++++++ lib/member/rte_member_sketch.h | 97 +++++ lib/member/rte_member_sketch_avx512.c | 69 +++ lib/member/rte_member_sketch_avx512.h | 36 ++ lib/member/rte_xxh64_avx512.h | 117 +++++ lib/member/version.map | 3 + 12 files changed, 2021 insertions(+), 8 deletions(-) create mode 100644 lib/member/rte_member_heap.h create mode 100644 lib/member/rte_member_sketch.c create mode 100644 lib/member/rte_member_sketch.h create mode 100644 lib/member/rte_member_sketch_avx512.c create mode 100644 lib/member/rte_member_sketch_avx512.h create mode 100644 lib/member/rte_xxh64_avx512.h -- 2.25.1