On Mon, Jan 07, 2013 at 02:25:26AM +0000, Lichunhe wrote:
> >On Sun, Jan 06, 2013 at 09:22:13AM +0000, Lichunhe wrote:
> >> Could anyone tell me the max flow entries in the datapath flow table?
> >> Or it has not a limitation. I can't find this in datapath source code.
> >
> >The datapath flow table doesn't have a specific limitation, but it's not
> >normally a relevant question, because userspace tries hard to keep the
> >number of flows in the kernel flow table bounded to a relatively small
> >number.
> 
> You say that it depends the expire mechanism, the "expire" function in
> the ofproto-dpif.c, delete the flow entries which have been idle too
> long. So if the flow entry is always used, it won't be deleted. In
> some scenario, it will exhaust the memory resource.

The more kernel flow table entries it installed, the more stringent
userspace gets about how active a flow has to be.  It tends to limit the
size of the kernel flow table.

> And in handle_table_stats_request function, reply the capability of
> flow table is 1000000(max_entries), But it has not been used in
> anywhere.

You seem to confuse the kernel flow table with the OpenFlow flow table.
Their properties are quite different.
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to