OPNsense Forum

Archive => 21.1 Legacy Series => Topic started by: dinguz on May 13, 2021, 02:51:24 pm

Title: Dummynet fast io sysctl overwritten by OPNsense?
Post by: dinguz on May 13, 2021, 02:51:24 pm
I was playing around with dummynet sysctls, and noticed that setting net.inet.ip.dummynet.io_fast=0 in System-Settings-Tunables wouldn't stick. You can set it there, but it gets overwritten later during boot.
I investigated a bit more, and this particular setting is hard-coded in /usr/local/etc/rc.ipfw, together with net.inet.ip.dummynet.hash_size=256.

I wanted to set it to zero because from the docs I understand that enabling fast io messes up the network statistics.

Wouldn't it make more sense to move these settings to the tunables config page, and list them there, together with a short explanation of why the developers deemed them necessary?

Title: Re: Dummynet fast io sysctl overwritten by OPNsense?
Post by: mimugmail on May 14, 2021, 06:51:05 am
Maybe its worth to open a feature request in GitHub with enough information and following the templates
Title: Re: Dummynet fast io sysctl overwritten by OPNsense?
Post by: dinguz on May 15, 2021, 04:48:36 pm
Done here: https://github.com/opnsense/core/issues/4989
Thanks!
Title: Re: Dummynet fast io sysctl overwritten by OPNsense?
Post by: dinguz on May 15, 2021, 10:22:11 pm
Spoke too soon, now I got a message saying that my issue has been deprioritized because I apparently didn't use the template. After filling the form out, I have indeed removed the instructions. Should I have left them in place for Github to recognize them as 'using the template'?
Title: Re: Dummynet fast io sysctl overwritten by OPNsense?
Post by: mimugmail on May 16, 2021, 06:34:49 am
Yes, just close this one and open a new one leaving them there.