I suggest debugging, for instance by adding VLOG_INFO() statements at different points in the code to understand when the revalidator thread is gathering statistics, attributing them, and sleeping.
On 19 January 2016 at 04:13, Haleema Sadia <[email protected]> wrote: > Hi, > > So I changed the polling frequency interval in the function you mentioned (I > re-did all the steps following updating ovs through mininet). However, the > packet count changes after roughly 500 ms. Is there anywhere I can change > that? > > I tried changing the polling frequency to 1ms, 0.1ms and 0.01 ms (in the > function you mentioned) and the achieved frequency is roughly around 1ms but > when I check the packet from the fetched flow stats, they change after 500 > ms. I have a long lived iperf flow which is running. Is there anything in > the switch code which is limiting it? > > > Thanks, > Haleema > > On Wed, Dec 23, 2015 at 3:57 AM, Joe Stringer <[email protected]> wrote: >> >> On 22 December 2015 at 04:31, Haleema Sadia Mahmood >> <[email protected]> wrote: >> > Hi, >> > >> > I wanted to enquire that what is the polling frequency of the open >> > vswitch for fetching the flow stats? Can you specify in the code where it >> > is >> > doing it? >> >> Roughly 1-2x per second: >> >> https://github.com/openvswitch/ovs/blob/master/ofproto/ofproto-dpif-upcall.c#L898 > > _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
