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

Ben Pfaff blp at ovn.org
Mon Jan 23 16:23:58 UTC 2017


On Mon, Jan 23, 2017 at 11:48:46AM +0000, Avi Cohen wrote:
> 
> 
> > -----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 ?

Fixing incorrect flows isn't about LRU, it's about correctness.  I'm not
sure what you're asking for.


More information about the discuss mailing list