[ovs-dev] [PATCH] ofproto-dpif: Keep track of exact-match flow info
Ethan Jackson
ethan at nicira.com
Wed Mar 27 23:01:57 UTC 2013
I had a question about this. Did we consider simply using coverage
counters? We could extend them to report a rate. This would be
useful more generally.
Ethan
On Wed, Mar 27, 2013 at 3:59 PM, Andy Zhou <azhou at nicira.com> wrote:
> This is fine. Thanks
>
>
> On Wednesday, March 27, 2013, Ben Pfaff wrote:
>>
>> On Mon, Mar 25, 2013 at 07:49:13PM -0700, Andy Zhou wrote:
>> > This patch adds more flow related stats to the output of
>> > "ovs-appctl dpif/show". Specifically, the follow information
>> > are added per ofproto:
>> >
>> > - Max flow table size
>> > - Average flow table size
>> > - Average flow table add rate
>> > - Average flow table delete rate
>> > - Average flow entry life in milliseconds
>> >
>> > Feature #15366
>> >
>> > Signed-off-by: Andy Zhou <azhou at nicira.com>
>>
>> I'm OK with this.
>>
>> Do you mind if I change the comment on exp_mavg() to:
>>
>> /* Compute exponentially weighted moving average, adding 'new' as the
>> newest,
>> * most heavily weighted element. 'base' designates the rate of decay:
>> after
>> * 'base' further updates, 'new''s weight in the EWMA decays to about 1/e
>> * (about .37). */
>>
>> I find this a more satisfying explanation.
>>
>> Thanks,
>>
>> Ben.
>
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
>
More information about the dev
mailing list