From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 743B2A046B for ; Mon, 24 Jun 2019 17:16:50 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3D7E41BD26; Mon, 24 Jun 2019 17:16:50 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id A55AF1BCDA for ; Mon, 24 Jun 2019 17:16:48 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 40F1E2251A; Mon, 24 Jun 2019 11:16:48 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 24 Jun 2019 11:16:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=jC/JXy2Uz+TDX7aAvsIUejhP8r3VB1pnGhfWYLGyY1o=; b=MUrQCuM/Oe0l Y3mtcLpMFSlq2XcYTNszfDyxVN5v2g4rX2N8ht20kF12p5BqH42AmyxHIQCynmsq r/BQv+MF4mlo0TsfbW8TvZbuqPpz1zaqASsgRYMfoXZCacC7aW+Nbu/MLzLHX8GM sdOh8d1IOzyGsTavNzBFldaj9gYWg8w= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=jC/JXy2Uz+TDX7aAvsIUejhP8r3VB1pnGhfWYLGyY 1o=; b=RlBqqed7uoL9HwauH21WWsGNn5bquFrO33NzQcQUJNlXsSQOjZpzB5lEK ysxS+11NLXjlVqYzcgM5SSMrO6VDd5sQJQq9koXeCMYk+ptnXzqawG6cPaCuf5rS uhNkjz8X/pae5wC+fKP7bgVXtmVPJo7bahiv5HF8eLK4SsXMjGdVUJyKdQ0l2rDS L9zNva8nfmn7kxYic2VbOgtnTOqdtCme3lCjVGBJ3A1LdcKbsYGRD9BbBtunjnqa mN4CpmCGIMVsxMt5a1O1s3lR+bVVBqqZfAYiQwmGEC0Ex/DnK2f0jAN0oFqEOpu0 fuMaxjs+qiUEPujeygKxNT4xTBrTg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddruddvgdeklecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph epjeejrddufeegrddvtdefrddukeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhho mhgrshesmhhonhhjrghlohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 147C580064; Mon, 24 Jun 2019 11:16:46 -0400 (EDT) From: Thomas Monjalon To: Reshma Pattan Cc: dev@dpdk.org, david.hunt@intel.com, liang.j.ma@intel.com, anatoly.burakov@intel.com Date: Mon, 24 Jun 2019 17:16:45 +0200 Message-ID: <1825527.fipNyQpaFa@xps> In-Reply-To: <20190613134438.25979-1-reshma.pattan@intel.com> References: <20190524093425.28131-1-reshma.pattan@intel.com> <20190613134438.25979-1-reshma.pattan@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3] examples/l3fwd-power: add telemetry mode support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 13/06/2019 15:44, Reshma Pattan: > Add new telemetry mode support for l3fwd-power. > This is a standalone mode, in this mode l3fwd-power > does simple l3fwding along with calculating > empty polls, full polls, and busy percentage for > each forwarding core. The aggregation of these > values of all cores is reported as application > level telemetry to metric library for every 500ms from the > master core. > > The busy percentage is calculated by recording the poll_count > and when the count reaches a defined value the total > cycles it took is measured and compared with minimum and maximum > reference cycles and busy rate is set according to either 0% or > 50% or 100%. > > Signed-off-by: Reshma Pattan > Acked-by: Anatoly Burakov > --- > v3: Update commit message. > Update guide l3_forward_power_man.rst. > Update code to not allow master core in --conf(port,queue,lcore) option for telemetry mode. > > v2:Increased telemetry timer value. > Corrected typos. > Fixed if condition to avoid extra indentation. > Added metrics dependency to meson build file. > --- Shared library linking is failing: undefined reference to symbol 'round@@GLIBC_2.2.5'