From https://youtu.be/bmcdqK2LATc?t=65
Adding:
[edit snmp] + filter-interfaces { + interfaces { + "^.*\.0$"; + } + }
To all the switch stacks should speed up LibreNMS quite a bit by not exposing a type of interfaces we're not interested in.
On Juniper, all regular access ports, for example https://librenms.wikimedia.org/device/device=160/tab=port/port=18033/
Have a matching logical interface, for example https://librenms.wikimedia.org/device/device=160/tab=port/port=18036/
That logical interface doesn't expose useful information to us (everything is in the physical port stats), so filtering it out should be fine. As it's only about SNMP/monitoring, testing it out is harmless as well.
We can check the improvements using https://librenms.wikimedia.org/graphs/type=device_poller_modules_perf/device=160/from=1621240200/
Or globally with https://librenms.wikimedia.org/poller/performance