[ovs-dev] 4104 flows

Derek Cormier derek.cormier at lab.ntt.co.jp
Thu Mar 10 01:31:04 UTC 2011


Ah, I think I found the problem. Each time I added a flow I incremented 
the vlan id. I assumed that the vlan id could take on all 16-bit 
unsigned values, but after some reading I found out that switches use a 
max vlan id of 4096. Open vSwitch starts up with 8 flows, giving my 
magic number of 4104.

By the way, what are those 8 flows used for?

Thanks,
-- Derek

On 03/10/2011 12:08 AM, Ben Pfaff wrote:
> On Tue, Mar 8, 2011 at 10:35 PM, Derek Cormier
> <derek.cormier at lab.ntt.co.jp>  wrote:
>> I'm adding tens of thousands of flows to openvswitch. While they are adding
>> I am monitoring ovs-ofctl dump-tables. The active count seems to stop at
>> 4104. Doing a table stats request also shows this number. Is this a bug? Is
>> there another way to see how many flows are on the switch?
> It sounds like some of your flows are actually so similar that OVS
> (and OpenFlow)
> consider them to be the same, so that one of the new flows in fact replaces one
> of the old flows.
>
> I don't think that another way to see the flows, if there is one, is likely to
> show different results.
>
> This isn't a known bug in OVS.  We have internal stress test results that run
> OVS with hundreds of thousands of flows.
>




More information about the dev mailing list