Re: [ovs-dev] [PATCH] bridge: Allow users to configure statistics update to OVSDB.

2014-04-29 Thread Alex Wang
Thanks for the review Joe, On Tue, Apr 29, 2014 at 4:45 PM, Joe Stringer wrote: > On 30 April 2014 05:29, Alex Wang wrote: > >> +dnl disable the stats update, the following 'recv' should not be updated. >> +AT_CHECK([ovs-vsctl set O . other_config:stats-update-interval=1000]) >> +for i in `

Re: [ovs-dev] [PATCH] bridge: Allow users to configure statistics update to OVSDB.

2014-04-29 Thread Joe Stringer
On 30 April 2014 05:29, Alex Wang wrote: > > +dnl disable the stats update, the following 'recv' should not be updated. > +AT_CHECK([ovs-vsctl set O . other_config:stats-update-interval=1000]) > +for i in `seq 0 10`; do ovs-appctl time/warp 1000; done > +for i in `seq 1 5`; do > +AT_CHECK(

[ovs-dev] [PATCH] bridge: Allow users to configure statistics update to OVSDB.

2014-04-29 Thread Alex Wang
This commit adds a new configuration "stats-update-interval" in "other_config" of Open_Vswitch table. So users can control the statistics update frequency. A possible use case is that, users can lower the update frequency to reduce the cpu consumption of the ovs-vswitchd thread. Signed-off-by: A