Search code examples
intel-vtune

Failed to reproduce results of Intel Vtune analyzing example on DPDK


I'm running a DPDK process on a Linux and tried to follow the example down below to analysis core effiency. https://software.intel.com/content/www/us/en/develop/documentation/vtune-cookbook/top/methodologies/core-utilization-in-dpdk-apps.html#core-utilization-in-dpdk-apps_RX

I ran the program on Ubuntu 20.04 and copied the file back to my windows laptop due to the lack of GUI components. And I can't get the DPDK Rx Spin Time shown before. vtune results warning logs

It's because of the warning logs. or am I missing something? Any help will be grateful.


Solution

  • Please check that application you are profiling contains the necessary callbacks for RX and TX tracing. To enable RX burst statistic collection in VTune Profiler you need:

    • build DPDK with with the CONFIG_RTE_ETHDEV_RXTX_CALLBACKS and CONFIG_RTE_ETHDEV_PROFILE_WITH_VTUNE options enabled
    • rebuild your test application with this DPDK
    • run VTune I/O analysis

    To check that VTune profiling is enabled ran:

    nm <test_app> | grep profile_hook_rx_burst_cb