[ovs-dev] [PATCH ovn] northd: Avoid memory reallocation while building lb rules.
Dumitru Ceara
dceara at redhat.com
Tue May 25 08:46:26 UTC 2021
On 5/20/21 9:02 PM, Ilya Maximets wrote:
> 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 subsequnet IPs.
>
> Signed-off-by: Ilya Maximets <i.maximets at ovn.org>
> ---
Looks good to me, thanks!
Acked-by: Dumitru Ceara <dceara at redhat.com>
More information about the dev
mailing list