[ovs-discuss] Datapath flow eviction rate for 2.x

Andrey Korolyov andrey at xdel.ru
Mon Oct 26 15:32:58 UTC 2015


Hi,

As far as I can see, the default 200k limit for in-datapath rules
working not exactly as suggested, because dpctl shows far lower number
of the active flows and with max-idle for 2.5h:

system at ovs-system:
        lookups: hit:176489248433 missed:29538996446 lost:46962
        flows: 6462
        masks: hit:906990269299 total:5 hit/pkt:4.40


Stdev of flow# is about ten percent within a minute, so OVS behaving
slightly different than it should by a bare look at the code. Can
anyone please suggest a way to change an eviction rate so datapath
will hold at least one tenth of amount of prefixes from the limit, or
it is intentional to hold in-dp flow number that low? Indeed there is
a small tail with low hit-rate but most of those subnets are
definitely used more frequently than max-idle.

Thanks!



More information about the discuss mailing list