GNOME Bugzilla – Bug 747989
[performance] handle large number of routes/adresses better
Last modified: 2020-11-12 14:29:51 UTC
I opened two bugs (bug 747981 and bug 747985) to address possibly performance issues in NetworkManager platform when having many addresses/routes. I open this bug for performance issues in NetworkManager outside of NMPlatform. When having a large number of routes/addresses, or a high rate of changes, the folling can become an issue: On an ip-change-event we idly schedule update_ip_config(). This calls nm_ip4_config_subtract() and nm_ip4_config_intersect(), which scales badly. Note that the D-Bus API exposes routes and addresses to the user. This can also be problematic. Refactoring platform cache (bug 747981) will add the possibility to make NMPlatformObject instances immutable and refcounted. See https://bugzilla.gnome.org/show_bug.cgi?id=747981#c2
(In reply to Thomas Haller from comment #0) > Refactoring platform cache (bug 747981) will add the possibility to make > NMPlatformObject instances immutable and refcounted. See > https://bugzilla.gnome.org/show_bug.cgi?id=747981#c2 platform refactoring is done now. The platform objects are not immutable, we might do that one day, but up to now it's not clear that that would be more efficient then just copying on demand.
bugzilla.gnome.org is being shut down in favor of a GitLab instance. We are closing all old bug reports and feature requests in GNOME Bugzilla which have not seen updates for a long time. If you still use NetworkManager and if you still see this bug / want this feature in a recent and supported version of NetworkManager, then please feel free to report it at https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/ Thank you for creating this report and we are sorry it could not be implemented (workforce and time is unfortunately limited).