Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save kernkraft235/4d410f566ea2235201b9a8e462293a6d to your computer and use it in GitHub Desktop.

Select an option

Save kernkraft235/4d410f566ea2235201b9a8e462293a6d to your computer and use it in GitHub Desktop.
OPNsense - Intel i226 NIC tunables

Fix for some router/modem (cox was reported) combos that require arp ping periodically

N5105 box with Intel i226 getting 1/3 the speed? UDM-SE-and-Xfinity-XB7-not-working-well-together

net.link.ether.inet.max_age=120

General Tunables from the upstream fork

net.inet.icmp.drop_redirect = 1

net.isr.bindthreads = 1

net.isr.maxthreads = -1

net.inet.rss.bits = 2

net.inet.rss.enabled = 1

kern.ipc.nmbclusters = 1000000

kern.ipc.nmbjumbop = 524288

hw.intr_storm_threshold = 10000

net.inet.ip.intr_queue_maxlen = 3000

net.inet6.ip6.intr_queue_maxlen = 3000

hw.ix.flow_control = 0

dev.igc.N.fc = 0

where N = specific nic number, i.e. 0 or 1 or 2 or 3, etc

net.isr.dispatch = deferred

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment