5dce9fcdb2
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@intel.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> |
||
---|---|---|
.. | ||
img | ||
build_app.rst | ||
cryptodev_lib.rst | ||
dev_kit_build_system.rst | ||
dev_kit_root_make_help.rst | ||
efd_lib.rst | ||
env_abstraction_layer.rst | ||
eventdev.rst | ||
ext_app_lib_make_help.rst | ||
extend_dpdk.rst | ||
generic_receive_offload_lib.rst | ||
glossary.rst | ||
hash_lib.rst | ||
index.rst | ||
intro.rst | ||
ip_fragment_reassembly_lib.rst | ||
kernel_nic_interface.rst | ||
link_bonding_poll_mode_drv_lib.rst | ||
lpm6_lib.rst | ||
lpm_lib.rst | ||
mbuf_lib.rst | ||
mempool_lib.rst | ||
metrics_lib.rst | ||
multi_proc_support.rst | ||
overview.rst | ||
packet_classif_access_ctrl.rst | ||
packet_distrib_lib.rst | ||
packet_framework.rst | ||
pdump_lib.rst | ||
perf_opt_guidelines.rst | ||
poll_mode_drv.rst | ||
port_hotplug_framework.rst | ||
power_man.rst | ||
profile_app.rst | ||
qos_framework.rst | ||
reorder_lib.rst | ||
ring_lib.rst | ||
rte_flow.rst | ||
service_cores.rst | ||
source_org.rst | ||
thread_safety_dpdk_functions.rst | ||
timer_lib.rst | ||
traffic_management.rst | ||
vhost_lib.rst | ||
writing_efficient_code.rst |