[dpdk-dev] [PATCH v8] ether: add support for vtune task tracing

Thomas Monjalon thomas at monjalon.net
Fri Sep 22 19:04:36 CEST 2017


22/09/2017 16:52, ilia.kurakin at intel.com:
> From: Ilia Kurakin <ilia.kurakin at intel.com>
> 
> The patch simplifies DPDK applications analysis for developers which use
> Intel® VTune Amplifier.
> 
> 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.
> 
> 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.
> 
> The patch provides common way to inject RX queues profiling and VTune
> specific implementation.
> 
> Signed-off-by: Ilia Kurakin <ilia.kurakin at intel.com>

Applied with previous Ack from Jerin, thanks



More information about the dev mailing list