On Wed, Apr 16, 2014 at 12:08:03AM -0700, Alex Nelson wrote:
> I am running an experiment where I push multiple rules in a row, separated by 
> barrier messages. I have noticed that when I use multiple barrier messages 
> requested over a small amount of time, OVS gets disconnected from the 
> controller (Ryu in my experiment). I can see that because the datapath array 
> (keeps track of the switches connected) gets zero length. 
> On the other hand, if I push the same rules and  barrier messages, and pause 
> for a few secs (e.g. 5 secs) after each barrier, everything works fine. 
> Any ideas what might be going the wrong?

Maybe Ryu lets the barrier replies sent by the switch accumulate in
the TCP channel.  If the socket's send buffer fills up, then OVS stops
reading the receive buffer until some space becomes available.  If
that persists for a long time, then OVS will disconnect.  At 8 bytes
each, it takes a lot of barrier replies to fill up a TCP socket
buffer, but since it sounds like you're talking about a large number
of flows, perhaps it could happen.
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to