node_exporter icon indicating copy to clipboard operation
node_exporter copied to clipboard

arp: optimize interface name resolution

Open dswarbrick opened this issue 1 year ago • 0 comments

Go net package's net.InterfaceByIndex fetches the entire interface table behind the scenes, despite us specifying the interface index that we are interested in. This results in an exponential amount of rtnetlink traffic (and thus recvfrom syscalls) as the number of interfaces in a host increases.

Fixes: #3075

dswarbrick avatar Sep 25 '24 00:09 dswarbrick