[ovs-discuss] Disable the background flows-purge thread

Avi Cohen avi.cohen at huawei.com
Mon Jan 23 12:05:33 UTC 2017



> -----Original Message-----
> From: Avi Cohen
> Sent: Monday, 23 January, 2017 1:49 PM
> To: 'Ben Pfaff'
> Cc: ovs-discuss at openvswitch.org
> Subject: RE: [ovs-discuss] Disable the background flows-purge thread
> 
> 
> 
> > -----Original Message-----
> > From: ovs-discuss-bounces at openvswitch.org [mailto:ovs-discuss-
> > bounces at openvswitch.org] On Behalf Of Ben Pfaff
> > Sent: Thursday, 19 January, 2017 7:10 PM
> > To: Avi Cohen
> > Cc: ovs-discuss at openvswitch.org
> > Subject: Re: [ovs-discuss] Disable the background flows-purge thread
> >
> > On Thu, Jan 19, 2017 at 08:53:26AM +0000, Avi Cohen wrote:
> > > I want to disable the thread (just for some experiments) that is
> > > responsible to purge flows from data-path- based on the Least
> > > Recently Used (LRU) algorithm What is the best way to do this ?
> > > disabling the udpif_revalidator thread ? other ?
> >
> > That will have the effect you want, but it will also cause incorrect
> > behavior because those threads are also responsible for finding and
> > fixing flows whose actions are no longer correct.
> Thanks Ben
> Can you refer to the code lines where this LRU decision is made to delete a
> flow from datapath ?

I think it is the function 'should_revalidate()'  - correct ?

> > _______________________________________________
> > discuss mailing list
> > discuss at openvswitch.org
> > https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


More information about the discuss mailing list