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 ABE7BA0543; Wed, 24 Aug 2022 18:23:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 98F3941144; Wed, 24 Aug 2022 18:23:03 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 3012C4067B for ; Wed, 24 Aug 2022 18:23:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661358182; x=1692894182; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=St85zqwH+XH5fSd+strM5zZo45ZgkFwDNIgH85nqXD4=; b=HsR5JEcEwWsojfgp9aTzUt3l/HYlpDkj50dQCeHuvLQ8wx/v6M59HmAV NqM50gTHjz/RmU2edixW0GXTI6SNxprIFMqEjxVKi1rMnn1v+OYRydOZT osZKPIGG3XzqhQpaZwRTQUvKj5Fe/OPikZNB9JESE/V9M4eNv1lWVEmAT tJEw9UxLVtmnQLgpvBzW89OUb0wpPkAGYnLyuN969wuxcQcSjlRAmEuf1 doLZflpZnx3DT7ldYiwgjUyB0uOupRV+RwigzWsIifR1k7G/6Z7cgCLRB Jhgd4t1aElop+hyVhOUzrBqeLSl7EdKzmv2pAx3uFvRPMrbZ+pfirfxnU g==; X-IronPort-AV: E=McAfee;i="6500,9779,10449"; a="292755974" X-IronPort-AV: E=Sophos;i="5.93,260,1654585200"; d="scan'208";a="292755974" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Aug 2022 09:21:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,260,1654585200"; d="scan'208";a="699128482" Received: from silpixa00401122.ir.intel.com ([10.237.213.42]) by FMSMGA003.fm.intel.com with ESMTP; 24 Aug 2022 09:21:47 -0700 From: Kevin Laatz To: dev@dpdk.org Cc: anatoly.burakov@intel.com, Kevin Laatz Subject: [PATCH v2 0/3] Add lcore poll busyness telemetry Date: Wed, 24 Aug 2022 17:24:39 +0100 Message-Id: <20220824162442.631456-1-kevin.laatz@intel.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <24c49429394294cfbf0d9c506b205029bac77c8b.1657890378.git.anatoly.burakov@intel.com> References: <24c49429394294cfbf0d9c506b205029bac77c8b.1657890378.git.anatoly.burakov@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 Currently, there is no way to measure lcore busyness in a passive way, without any modifications to the application. This patchset adds a new EAL API that will be able to passively track core busyness. As part of the set, new telemetry endpoints are added to read the generate metrics. Anatoly Burakov (2): eal: add lcore poll busyness telemetry eal: add cpuset lcore telemetry entries Kevin Laatz (1): doc: add howto guide for lcore poll busyness config/meson.build | 1 + config/rte_config.h | 1 + doc/guides/howto/lcore_busyness.rst | 79 +++++ lib/bbdev/rte_bbdev.h | 17 +- lib/compressdev/rte_compressdev.c | 2 + lib/cryptodev/rte_cryptodev.h | 2 + lib/distributor/rte_distributor.c | 21 +- lib/distributor/rte_distributor_single.c | 14 +- lib/dmadev/rte_dmadev.h | 15 +- lib/eal/common/eal_common_lcore_telemetry.c | 340 ++++++++++++++++++++ lib/eal/common/meson.build | 1 + lib/eal/include/rte_lcore.h | 80 +++++ lib/eal/meson.build | 3 + lib/eal/version.map | 7 + lib/ethdev/rte_ethdev.h | 2 + lib/eventdev/rte_eventdev.h | 10 +- lib/rawdev/rte_rawdev.c | 5 +- lib/regexdev/rte_regexdev.h | 5 +- lib/ring/rte_ring_elem_pvt.h | 1 + meson_options.txt | 2 + 20 files changed, 584 insertions(+), 24 deletions(-) create mode 100644 doc/guides/howto/lcore_busyness.rst create mode 100644 lib/eal/common/eal_common_lcore_telemetry.c -- 2.31.1