Skip to content

Instantly share code, notes, and snippets.

@jserviceorg
Created November 16, 2017 11:55
Show Gist options
  • Save jserviceorg/8c0a868ad8418d9c7d7c2171c55fbe99 to your computer and use it in GitHub Desktop.
Save jserviceorg/8c0a868ad8418d9c7d7c2171c55fbe99 to your computer and use it in GitHub Desktop.
FreeBSD Loader.conf
### Use next-gen MRSAS drivers in place of MFI for device supporting it
# This solve lot's of [mfi] COMMAND 0x... TIMEOUT AFTER ## SECONDS
hw.mfi.mrsas_enable="1"
### Tune some global values ###
net.fibs="16" # Numbers of FIB
hw.usb.no_pf="1" # Disable USB packet filtering
### Intel NIC tuning ###
hw.igb.rx_process_limit="-1"
hw.em.rx_process_limit="-1"
hw.ix.rx_process_limit="-1"
# Allow unsupported SFP
hw.ix.unsupported_sfp="1"
hw.ix.allow_unsupported_sfp="1"
### link tunning ###
# Increase interface send queue length
net.link.ifqmaxlen="10240"
# Avoid message netisr_register: epair requested queue limit 430080 capped to net.isr.maxqlimit 1024
net.isr.maxqlimit=430080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment