[ovs-git] [ovn-org/ovn] 3b6362: northd: Avoid memory reallocation while building l...
Ilya Maximets
noreply at github.com
Tue Jun 1 11:19:39 UTC 2021
Branch: refs/heads/master
Home: https://github.com/ovn-org/ovn
Commit: 3b6362d64e86bfb754f250b430677bded8748639
https://github.com/ovn-org/ovn/commit/3b6362d64e86bfb754f250b430677bded8748639
Author: Ilya Maximets <i.maximets at ovn.org>
Date: 2021-06-01 (Tue, 01 Jun 2021)
Changed paths:
M northd/ovn-northd.c
Log Message:
-----------
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
mailing list