Commits
Andris Mednis authored f0eb849686aM
.......PS. [ZBX-5973] improved performance of SNMP dynamic index item cache building in poller processes
Each poller process has its own cache for dynamic indexes.
Before this change:
Each SNMP dynamic index was searched for and put into cache independently.
On systems with thousands of dynamic indexes pollers were 100% busy for more than 10 minutes
until the cache was build up.
After this change:
Searching for one SNMP dynamic index inserts all other indexes from the same OID table into
the cache in the same pass. The cache builds up much faster, number of SNMP queries is reduced.
The assumption is that most of cache entries will be used and unnecesary elements in the cache
is not a problem.
Function snmp_normalize() improved for better performance.Showing diff tobd1fae3ffd4