[ovs-discuss] Flow eviction based on LRU

Joe Stringer joe at ovn.org
Wed Jan 25 18:46:31 UTC 2017

On 24 January 2017 at 23:55, Avi Cohen (A) <avi.cohen at huawei.com> wrote:
> 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 ?

Yes. Alternatively if flow dump duration is long (takes ~1s to dump
all flows), then additional heuristics will kick in to delete
low-throughput flows, see should_revalidate(). Furthermore, if any
configuration or OpenFlow changes then that thread will delete related
datapath flows.

> 2.  Where is the implementation of http://openvswitch.org/ovs-vswitchd.conf.db.5.pdf  ?
> This intends to be  a LRU approximation

Can you be more specific where in the 58-page document you're
referring to? It's possible the documentation is a little out of sync
with the current implementation.

More information about the discuss mailing list