Import netstat kresolve_list() fix from stable/11 to improve performance on some platforms
When viewing the dashboard on certain platforms, such as the SG-1000, the calls to netstat to gather data can be slow and consume large amounts of CPU time.
There appears to be a fix for this in stable/11 that didn't make it into 11.1 which addresses this problem: https://reviews.freebsd.org/D12151
#2 Updated by Jim Pingle over 2 years ago
So far, so good. I no longer see a netstat process hanging around in top while watching the dashboard, the CPU usage is much lower while watching the dashboard as well. Running netstat by hand returns instantly with what appears to be accurate data.
Will wait for more confirmation but it looks like it's solved to me.