[ovs-git] [ovn-org/ovn] 3b6362: northd: Avoid memory reallocation while building l...
noreply at github.com
Tue Jun 1 11:19:39 UTC 2021
Author: Ilya Maximets <i.maximets at ovn.org>
Date: 2021-06-01 (Tue, 01 Jun 2021)
northd: Avoid memory reallocation while building lb rules.
This is one of the hottest points in the northd in case of big number
of load balancers and we're reallocating matches and actions several
times for each vIP for each load balancer.
Fix that by re-using the allocated memory and just clearing dynamic
strings for all subsequent IPs.
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>
Acked-by: Dumitru Ceara <dceara at redhat.com>
Signed-off-by: Numan Siddique <numans at ovn.org>
More information about the git