[ovs-discuss] Polling Frequency

Haleema Sadia haleema.s.mahmood at gmail.com
Thu Jan 21 08:46:25 UTC 2016


Does VLOG_INFO saves the in /var/log/openvswitch/ ?

On Tue, Jan 19, 2016 at 11:32 PM, Joe Stringer <joe at ovn.org> wrote:

> 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 <haleema.s.mahmood at gmail.com>
> 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 <joe at ovn.org> wrote:
> >>
> >> On 22 December 2015 at 04:31, Haleema Sadia Mahmood
> >> <haleema.s.mahmood at gmail.com> 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
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160121/5e577a90/attachment-0002.html>


More information about the discuss mailing list