[ovs-dev] [PATCH ovn RFC v3 29/29] Set cut-off values to best guesstimates
anton.ivanov at cambridgegreys.com
anton.ivanov at cambridgegreys.com
Thu Jul 16 13:19:27 UTC 2020
From: Anton Ivanov <anton.ivanov at 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.ivanov at 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
More information about the dev
mailing list