[ovs-discuss] Flow_table eviction policy

NGUYEN Xuan Nam xuan-nam.nguyen at inria.fr
Thu Apr 4 14:20:23 UTC 2013


On 04/04/2013 04:12 PM, Ben Pfaff wrote:
> On Wed, Apr 03, 2013 at 05:48:44PM +0200, NGUYEN Xuan Nam wrote:
>> I would like to ask more about eviction policy of OpenFlow Flow's Table
>>
>> 1. If I don't specify the groups field, which entry will be removed?
> All flows are put into a single group, and then eviction proceeds in the
> manner documented in ovs-vswitchd.conf.db(5).
>
>> 2. If all flows has the same idle timeout value, is it similar to
>> LRU ? the least recently used flow (will be expired soonest) will be
>> remove ? I did an experiment but it seems not true.
> Behavior should approximate LRU.  What behavior did you see?
I inserted entries that match source IP addresses and generate packet 
with various source IP addresses (following Zipf's distribution) However 
the entry for popular packets is removed too many times than I expected.
I will double check it.

Thank for your answer.

Nam






More information about the discuss mailing list