From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8530BA046B for ; Fri, 28 Jun 2019 11:53:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4B38B34F0; Fri, 28 Jun 2019 11:53:06 +0200 (CEST) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by dpdk.org (Postfix) with ESMTP id EAC64326D for ; Fri, 28 Jun 2019 11:53:03 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id C962C39D; Fri, 28 Jun 2019 05:53:02 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 28 Jun 2019 05:53:03 -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=6HzZRfqQo3iCxFblxc9ldDTjrZCWwM/U0ValmN6sWro=; b=sgfx3WTbs1Qz wI8y8RJVX+i1jvxKAnbo5XhhMX2C/2kWImh9i45XWoC00/Wl6ZX9pd/FEppRU7xk u/gF7mwAJI3eMVCa4Fwcsrk6nrThjO/kdjA7BxUhu/n7bteBQHCwobWurP/K8BOK iu1QvIV4exLiXhaDoDKtdxvWpYxuDiA= 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=6HzZRfqQo3iCxFblxc9ldDTjrZCWwM/U0ValmN6sW ro=; b=mL2SgNOGmwebmpvK7mkhx+URqSUqA4tPvzfXNi2NkcLadV5OsEp5YIw0g U0vzJ0dkpdy843Aym9YKwhgkVdZvgZxGJD+kbrpFzbp8hCAJ3AlQJVMjT97NeO2m NItuwBqRhFsphGBC0V/ZoyB0B6QjhUvLc4SzEismowcF5h4FhAnXq4+dR3qfaQX5 uAwDyDlj5l2XB+L+0ofrqaSCtoQ570mo+TMWCgwhQmaZiTPICsIUQ/TEn2EhlUEz vlgqxpbjB5N3tzoRlwGpgl09rFeoBn04Oay1cV7Bk4NHzWbFWEHrtgklHDk/YP9z FCKRqf4kGiVG7ydo8FpUVARE8iwzQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrvddtgddvfecutefuodetggdotefrodftvf 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 5E7568005A; Fri, 28 Jun 2019 05:53:01 -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: Fri, 28 Jun 2019 11:53:00 +0200 Message-ID: <5313431.mPIn3z9J4J@xps> In-Reply-To: <20190624164551.20866-1-reshma.pattan@intel.com> References: <20190613134438.25979-1-reshma.pattan@intel.com> <20190624164551.20866-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 v4] 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" 24/06/2019 18:45, 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 Applied, thanks and enjoy your holidays :)