This patch set optimizes usage of string operations and avoids parsing same LSP addresses multiple times.
Performance tests with ovn-heater show 5-10% improvement in high-scale density-light scenarios. Version 2: - Reduced code duplication in is_dynamic_lsp_address(). [Mark] Ilya Maximets (3): treewide: Remove unnecessary strlen() calls. ovn-util: Optimize is_dynamic_lsp_address. northd: Don't parse LSP addresses twice. controller/chassis.c | 4 +-- controller/encaps.c | 2 +- controller/physical.c | 2 +- controller/pinctrl.c | 6 ++-- ic/ovn-ic.c | 4 +-- lib/ovn-util.c | 45 ++++++++++++++++++++---------- northd/northd.c | 64 +++++++++++++++---------------------------- utilities/ovn-nbctl.c | 14 +++++----- 8 files changed, 68 insertions(+), 73 deletions(-) -- 2.39.1 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
