Project

General

Profile

Actions

Todo #8237

closed

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

Added by Jim Pingle over 6 years ago. Updated over 6 years ago.

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

100%

Estimated time:
Plus Target Version:
Release Notes:

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

Actions #1

Updated by Luiz Souza over 6 years ago

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

Done. Let me know if I broke something.

Actions #2

Updated by Jim Pingle over 6 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.

Actions #3

Updated by Luiz Souza over 6 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF