[ovs-discuss] Flow eviction based on LRU

Avi Cohen (A) avi.cohen at huawei.com
Wed Jan 25 12:18:39 UTC 2017


[Avi Cohen (A)] 
I think I found the answer for 2 below - where  http://openvswitch.org/ovs-vswitchd.conf.db.5.pdf is implemented :
  vswitchd main loop  -->  bridge_run ()--> bridge_reconfigure()    --> bridge_reconfigure_tables() --> ofproto_configurae_tables() --> evict_rules_from_table ()
Is that make sense ?


> -----Original Message-----
> From: Avi Cohen (A)
> Sent: Wednesday, 25 January, 2017 9:56 AM
> To: 'Joe Stringer'
> Cc: ovs-discuss at openvswitch.org
> Subject: RE: [ovs-discuss] Flow eviction based on LRU
> 
> Thanks Joe,
> 1.  so the only flows-eviction process  (from datapath cache)  is implemented
> in udpif_revalidator thread ?  deleting flows that exceed  10s idle time ?
> 2.  Where is the implementation of http://openvswitch.org/ovs-
> vswitchd.conf.db.5.pdf  ?
> This intends to be  a LRU approximation
> 
> Regards avi
> 
> > -----Original Message-----
> > From: Joe Stringer [mailto:joe at ovn.org]
> > Sent: Tuesday, 24 January, 2017 9:24 PM
> > To: Avi Cohen (A)
> > Cc: ovs-discuss at openvswitch.org
> > Subject: Re: [ovs-discuss] Flow eviction based on LRU
> >
> > On 24 January 2017 at 06:15, Avi Cohen (A) <avi.cohen at huawei.com>
> wrote:
> > > Hi,
> > > Can someone refer to the flow eviction based on LRU  process?
> > > I see that udpif_revalidator thread  only handles:
> > > - inactive flows -  flow inactivity >  10s (default)
> > > - an event that triggers the need_revalidate
> > >
> > > But I don't see where the main function (LRU) is performed
> >
> > There is no LRU.


More information about the discuss mailing list