[ovs-dev] [PATCH v5] Detailed packet drop statistics per dpdk and vhostuser ports
blp at ovn.org
Mon Jul 22 16:06:36 UTC 2019
On Mon, Jul 22, 2019 at 03:31:53PM +0530, Sriram Vatala wrote:
> OVS may be unable to transmit packets for multiple reasons and
> today there is a single counter to track packets dropped due to
> any of those reasons. The most common reason is that a VM is
> unable to read packets fast enough causing the vhostuser port
> transmit queue on the OVS side to become full. This manifests
> as a problem with VNFs not receiving all packets. Having a
> separate drop counter to track packets dropped because the
> transmit queue is full will clearly indicate that the problem
> is on the VM side and not in OVS. Similarly maintaining separate
> counters for all possible drops helps in indicating sensible
> cause for packet drops.
> This patch adds counters for custom stats to track packets dropped
> at port level and these stats are displayed along with
> other stats in "ovs-vsctl get interface <iface> statistics"
> command. The detailed stats will be available for both dpdk and
> vhostuser ports.
> Signed-off-by: Sriram Vatala <sriram.v at altencalsoftlabs.com>
Thanks for the revision! I'm happy with the bits that are important to
me. I'll leave the final review to Ian or Ilya.
More information about the dev