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

Ben Pfaff blp at ovn.org
Mon Jul 10 18:09:40 UTC 2017


On Wed, Jun 07, 2017 at 09:32:47AM -0700, Han Zhou wrote:
> 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 scale environment this largely reduces
> CPU cost and improves performance.
> 
> Related effort and discussion:
> https://mail.openvswitch.org/pipermail/ovs-dev/2017-May/331813.html
> 
> Signed-off-by: Han Zhou <zhouhan at gmail.com>

Doesn't this still keep a second connection to the SB database, and a
second replica of its data, on every ovn-controller?  Maybe I'm missing
something.


More information about the dev mailing list