[ovs-dev] [dpdk-latest PATCH v2] netdev-dpdk: add coverage counter to count vhost IRQs
Eelco Chaudron
echaudro at redhat.com
Mon Nov 11 13:22:10 UTC 2019
On 25 Oct 2019, at 15:56, Eelco Chaudron wrote:
> When the dpdk vhost library executes an eventfd_write() call,
> i.e. waking up the guest, a new callback will be called.
>
> This patch adds the callback to count the number of
> interrupts sent to the VM to track the number of times
> interrupts where generated.
>
> This might be of interest to find out system-calls were
> called in the DPDK fast path.
>
> The coverage counter is called "dpdk_vhost_irqs" and can be
> read with:
>
> $ ovs-appctl coverage/show | grep dpdk_vhost_irqs
> dpdk_vhost_irqs 275880.6/sec 129962.683/sec
> 6561.7250/sec total: 23684319
>
> $ ovs-appctl coverage/read-counter dpdk_vhost_irqs
> 23684319
>
> Signed-off-by: Eelco Chaudron <echaudro at redhat.com>
Any comments on this patchset?
More information about the dev
mailing list