Re: [ovs-dev] [PATCH v4 3/3] ovn-controller: Use separate thread for packet-in processing.

2017-09-27 Thread Han Zhou
Hi Guoshuai, Thanks for the feedback. I am glad it is useful for you. And you have a very valid point that the current patch breaks the connection status feature. I didn't think about the detailed fix yet but in general I think it might be reasonable to add a "proxy" layer of HV-local SB DB, which

Re: [ovs-dev] [PATCH v4 3/3] ovn-controller: Use separate thread for packet-in processing.

2017-09-26 Thread Guoshuai Li
This is very useful to me. I found a problem in my use: In the ovn-controller and the south of the database connection,when the ovn-controller as a passive service, the SB as a client, such as configured to ovs-vsctl set Open_vSwitch . external-ids:ovn-remote=ptcp:6644:0.0.0.0 ovn-sbctl set-c

[ovs-dev] [PATCH v4 3/3] ovn-controller: Use separate thread for packet-in processing.

2017-08-27 Thread Han Zhou
This patch introduces multi-threading for ovn-controller and use dedicated thread for packet-in processing as a start. It decouples packet-in processing and ovs flow computing, so that packet-in inputs won't trigger flow recomputing, and flow computing won't block packet-in processing. In large sca