Very slow OIDs registration / unregistration

Łukasz Bolda <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Good Morning, 

I'm using net-snmp 5.8.0 (build from repository around 04.2020). The problem
is that the registration of variables (and handlers) is veeeeery slow.
It takes around a 30 secs for only 10 000 OIDs and 90 secs for 20 000 OIDs,
so it's growing exponentially!

Steps i made for every variable:

1. Create reginfo using netsnmp_create_handler_registration
2. Create netsnmp_create_watcher_info
3. Call netsnmp_register_watched_instance2 with results of the operations
above.

Unregistering variables using netsnmp_unregister_handler is also verry slow
and takes above 20 secs for sure.


Can you help me?  How can i do it faster? Can i use one handler with many
OID's (with different types of variables) some way?

Am I doing something wrong or maybe i should report a bug?

Best Regards,
Łukasz Bolda




_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.