After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 747989 - [performance] handle large number of routes/adresses better
[performance] handle large number of routes/adresses better
Status: RESOLVED OBSOLETE
Product: NetworkManager
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on: 747981
Blocks: 735445
 
 
Reported: 2015-04-16 11:41 UTC by Thomas Haller
Modified: 2020-11-12 14:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Thomas Haller 2015-04-16 11:41:20 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
Comment 1 Thomas Haller 2015-06-17 10:00:35 UTC
(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.
Comment 2 André Klapper 2020-11-12 14:29:51 UTC
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).