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

Han Zhou zhouhan at gmail.com
Mon Jul 10 18:16:51 UTC 2017


On Mon, Jul 10, 2017 at 11:09 AM, Ben Pfaff <blp at ovn.org> wrote:
>
> 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.

Right, this is not changed yet as mentioned in the cover letter. (This
should be 3/3, and I can't remember why it was put 2/2 though).
I described my thoughts and proposals and I need your input to decide which
option to continue:

https://mail.openvswitch.org/pipermail/ovs-dev/2017-June/333927.html


More information about the dev mailing list