[ovs-dev] [PATCH] Export OVS datapath performance counters via sFlow

Ben Pfaff blp at nicira.com
Thu Jan 1 23:46:17 UTC 2015


On Tue, Dec 16, 2014 at 02:56:21PM -0800, Neil McKee wrote:
> Export OVS datapath performance counters via sFlow. The OVS
> cache hit/miss counters and memory/CPU usage statistics have been identified
> as important metrics when managing large deployments. This patch allows them
> to be pushed periodically as part of the sFlow feed,  and represents a more
> efficient and scalable alternative to polling via ovs-dpctl(1).
> 
> It's safe to assume that the patch below was mangled by my email setup, so
> I posted a github pull-request here:
> https://github.com/openvswitch/ovs/pull/31
> 
> Signed-off-by: Neil McKee <neil.mckee at inmon.com>

I applied this.

I made a few changes:

        - Updated NEWS.

        - Fixed some indentation which appeared to be done with tabs
          instead of spaces.

        - Used the existing timeval_to_msec() function instead of the
          as_mS() function that this patch added.

Thanks,

Ben.



More information about the dev mailing list