On Tue, Jan 17, 2017 at 12:45:00PM +0000, zhangsha (A) wrote:
> From e7623970cd71f8af7c3849a5beff87fd31fbdf68 Mon Sep 17 00:00:00 2001
> From: Sha Zhang <zhangsha.zh...@huawei.com>
> Date: Tue, 17 Jan 2017 11:34:24 +0800
> Subject: [PATCH] ofproto-dpif: Reduce the time of creating large mount of
> bridges
> 
> This patch moves function xlate_txn_start and xlate_txn_commit out of the loop
> traversing all the ofproto-dpifs to reduce the time of creating a large mount
> of bridges in separate database transactions.
> As a global variable, new_xcfg should only be allocated at the beginning and
> commited at the end once time, other than doing it repeatly in the loop body.
> 
> Signed-off-by: Sha Zhang <zhangsha.zh...@huawei.com>

Thank you.  I applied this to master.
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to