[ovs-dev] [PATCH ovn] northd: Avoid memory reallocation while building lb rules.
numans at ovn.org
Tue Jun 1 11:20:28 UTC 2021
On Tue, May 25, 2021 at 4:46 AM Dumitru Ceara <dceara at redhat.com> wrote:
> 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>
Thanks. I applied this patch to the main branch.
> dev mailing list
> dev at openvswitch.org
More information about the dev