Project

General

Profile

Todo #8237

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

Added by Jim Pingle 7 months ago. Updated 6 months ago.

Status:
Resolved
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 7 months 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 7 months 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.

#3 Updated by Luiz Souza 6 months ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF