[ovs-dev] [PATCH 1/3] ovs-dpctl: Show number of flows
Ben Pfaff
blp at nicira.com
Wed Aug 3 15:03:28 UTC 2011
On Wed, Aug 03, 2011 at 06:45:11PM +0800, Jesse Gross wrote:
> On Wed, Aug 3, 2011 at 10:19 AM, Simon Horman <horms at verge.net.au> wrote:
> > Expose the number of flows present in a datapath to user-space
> > and to users via ovs-dpctl show.
> >
> > This has proved quite useful while looking at ways
> > to increase the number of flows that can be handled.
> > I am unsure if it is generally useful or not to
> > warrant inclusion upstream.
>
> I think this is generally useful information. We actually used to
> report it but it was eliminated during the transition to Netlink
> because it was no longer strictly necessary (it was previously used to
> size buffers) and because it was grouped together with some other
> information that exposed too much in the way of implementation
> details.
I've found it useful for debugging, myself, even though I was the one
who suggested removing it. Since we removed it from "ovs-dpctl show"
output I've had to approximate it with the (more expensive) "ovs-dpctl
dump-flows <datapath> | wc".
More information about the dev
mailing list