Project

General

Profile

Todo #8237

Import netstat kresolve_list() fix from stable/11 to improve performance on some platforms

Added by Jim Pingle 26 days ago. Updated 25 days ago.

Status:
Feedback
Priority:
Normal
Assignee:
Category:
Operating System
Target version:
Start date:
12/26/2017
Due date:
% Done:

100%


Description

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

See also: https://forum.pfsense.org/index.php?topic=139255.msg773724#msg773724

History

#1 Updated by Luiz Souza 26 days ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

Done. Let me know if I broke something.

#2 Updated by Jim Pingle 25 days 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.

Also available in: Atom PDF