From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 45CE3199AE for ; Fri, 22 Sep 2017 19:04:38 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id ACDF020EA9; Fri, 22 Sep 2017 13:04:37 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Fri, 22 Sep 2017 13:04:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=ZTh+ffpX4m6Ol8W XMG4hEDkgP8KwrOiqZQ+OFGEIFeM=; b=V1o8yumSa7LZZd9qg0+FIArJURwDGTX WHijqGeFnI7nfg1gW0ruaQ4MGuFrCz6Dg0IAh3M6m3f1PgZwon4QmGHEiQZvSY7y nz8GvYaTrZwbLgq4r1BlpP81VviBmXFUX6W2oZfMse+bFmjOZaE5l2onfVm3LV6y 9OYKm57eqAWI= 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-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=ZTh+ffpX4m6Ol8WXMG4hEDkgP8KwrOiqZQ+OFGEIFeM=; b=Tw12C8vf mf4ikmQzflscPl5pvvRvv6cAxPH6M40NCX3XdhYNkixMWw1Z+qk/AnMbXqCSD8T+ 1W9oBSezN9QiOGxaLKFKoVFEDvOh62Nmy3tR85+xQOKOfwjw2gp923ry/icR69bp R+p9XnWBuDcSLr+Aj62RLvzNEyaA5KLO+6TeKlesgpSKvWLlm2nXmWe9+3D0EKYv ee6+p4nOqkGEHEqTvKY1o0gQlSTo6a1W4yIyVv9nqjfw/6/grwdcp4v9+c61zEbb yRBEPcPoo/wcuG1nYKMsPgI2Tc0yfy1miI/pqYYJqtcyTpHE2CnWgqQXGpZnEN6L 03Mv2NBtUgEG+Q== X-ME-Sender: X-Sasl-enc: r2+rNUyq3q6UCTPMGuV66pz7YFM9Bd+DjuLBMet7l1Af 1506099877 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 5C7DB240C8; Fri, 22 Sep 2017 13:04:37 -0400 (EDT) From: Thomas Monjalon To: ilia.kurakin@intel.com Cc: dev@dpdk.org, jerin.jacob@caviumnetworks.com, keith.wiles@intel.com, dmitry.galanov@intel.com Date: Fri, 22 Sep 2017 19:04:36 +0200 Message-ID: <3715398.bgRVv9I6lK@xps> In-Reply-To: <20170922145229.28463-1-ilia.kurakin@intel.com> References: <20170908125721.2878-1-ilia.kurakin@intel.com> <20170922145229.28463-1-ilia.kurakin@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Subject: Re: [dpdk-dev] [PATCH v8] ether: add support for vtune task tracing 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: , X-List-Received-Date: Fri, 22 Sep 2017 17:04:38 -0000 22/09/2017 16:52, ilia.kurakin@intel.com: > From: Ilia Kurakin >=20 > The patch simplifies DPDK applications analysis for developers which use > Intel=AE VTune Amplifier. >=20 > The empty cycles are such iterations that yielded no RX packets. As far as > DPDK is running in poll mode, wasting cycles is equal to wasting CPU time. > Tracing such iterations can identify that device is underutilized. Tracing > empty cycles becomes even more critical if a system uses a lot of Ethernet > ports. >=20 > The patch gives possibility to analyze empty cycles without changing > application code. All needs to be done is just to reconfigure and rebuild > the DPDK itself with CONFIG_RTE_ETHDEV_PROFILE_ITT_WASTED_RX_ITERATIONS > enbled. The important thing here is that this does not affect DPDK code. > The profiling code is not being compiled if user does not specify config > flag. >=20 > The patch provides common way to inject RX queues profiling and VTune > specific implementation. >=20 > Signed-off-by: Ilia Kurakin Applied with previous Ack from Jerin, thanks