Last active
October 29, 2024 11:54
-
-
Save jorisvervuurt/8ce01bb19de242484e2ec7f5c785e46b to your computer and use it in GitHub Desktop.
OPNsense - Intel i226 NIC tunables
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<item> | |
<tunable>net.inet.icmp.drop_redirect</tunable> | |
<value>1</value> | |
<descr/> | |
</item> | |
<item> | |
<tunable>net.isr.bindthreads</tunable> | |
<value>1</value> | |
<descr/> | |
</item> | |
<item> | |
<tunable>net.isr.maxthreads</tunable> | |
<value>-1</value> | |
<descr/> | |
</item> | |
<item> | |
<tunable>net.inet.rss.bits</tunable> | |
<value>2</value> | |
<descr/> | |
</item> | |
<item> | |
<tunable>net.inet.rss.enabled</tunable> | |
<value>1</value> | |
<descr/> | |
</item> | |
<item> | |
<tunable>kern.ipc.nmbclusters</tunable> | |
<value>1000000</value> | |
<descr/> | |
</item> | |
<item> | |
<tunable>kern.ipc.nmbjumbop</tunable> | |
<value>524288</value> | |
<descr/> | |
</item> | |
<item> | |
<tunable>hw.intr_storm_threshold</tunable> | |
<value>10000</value> | |
<descr/> | |
</item> | |
<item> | |
<tunable>net.inet.ip.intr_queue_maxlen</tunable> | |
<value>3000</value> | |
<descr/> | |
</item> | |
<item> | |
<tunable>net.inet6.ip6.intr_queue_maxlen</tunable> | |
<value>3000</value> | |
<descr/> | |
</item> | |
<item> | |
<tunable>hw.ix.flow_control</tunable> | |
<value>0</value> | |
<descr/> | |
</item> | |
<item> | |
<tunable>dev.igc.0.fc</tunable> | |
<value>0</value> | |
<descr/> | |
</item> | |
<item> | |
<tunable>dev.igc.1.fc</tunable> | |
<value>0</value> | |
<descr/> | |
</item> | |
<item> | |
<tunable>dev.igc.2.fc</tunable> | |
<value>0</value> | |
<descr/> | |
</item> | |
<item> | |
<tunable>dev.igc.3.fc</tunable> | |
<value>0</value> | |
<descr/> | |
</item> | |
<item> | |
<tunable>net.isr.dispatch</tunable> | |
<value>deferred</value> | |
<descr/> | |
</item> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@jorisvervuurt
Thank you for the detail instructions.
Unfortunately, I just found out the problem is that my ISP using PPPOE for IPv4 and IPOE for IPv6, which seems not to be supported on OPNSense @@