From: Anton Ivanov <anton.iva...@cambridgegreys.com>

This sets the cut-off values for switching between
parallel and sequential processing to a reasonable guesstimate.

Signed-off-by: Anton Ivanov <anton.iva...@cambridgegreys.com>
---
 northd/ovn-northd.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/northd/ovn-northd.c b/northd/ovn-northd.c
index ef188fb88..4d61cdbba 100644
--- a/northd/ovn-northd.c
+++ b/northd/ovn-northd.c
@@ -7195,8 +7195,8 @@ build_lswitch_flows_step_120_op(
     ds_destroy(&match);
 }
 
-#define OD_CUTOFF 1
-#define OP_CUTOFF 1
+#define OD_CUTOFF 64
+#define OP_CUTOFF 4
 
 struct lswitch_flow_build_info {
     struct hmap *datapaths;
@@ -11186,7 +11186,7 @@ hmap_safe_remove(struct hmap *hmap, struct hmap_node 
*node, size_t hash)
     return false;
 }
 
-#define RECONCILE_CUTOFF 1
+#define RECONCILE_CUTOFF 1024
  
 static ssize_t max_seen_lflow_size = 128;
 
-- 
2.20.1

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to