From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8DA63C4321A for ; Fri, 28 Jun 2019 09:53:07 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 21F79208CB for ; Fri, 28 Jun 2019 09:53:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=monjalon.net header.i=@monjalon.net header.b="sgfx3WTb"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="mL2SgNOG" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 21F79208CB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=monjalon.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org 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 :)