From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v8] ether: add support for vtune task tracing Date: Fri, 22 Sep 2017 19:04:36 +0200 Message-ID: <3715398.bgRVv9I6lK@xps> References: <20170908125721.2878-1-ilia.kurakin@intel.com> <20170922145229.28463-1-ilia.kurakin@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org, jerin.jacob@caviumnetworks.com, keith.wiles@intel.com, dmitry.galanov@intel.com To: ilia.kurakin@intel.com 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) In-Reply-To: <20170922145229.28463-1-ilia.kurakin@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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