Hello all,
I have modified my /boot/loader.conf.local and added the following content:
hw.igb.rx_process_limit="-1"
hw.igb.tx_process_limit="-1"
legal.intel_igb.license_ack="1"
dev.igb.0.fc="0"
dev.igb.1.fc="0"
dev.igb.2.fc="0"
dev.igb.3.fc="0"
After the reboot, I wanted to check if the variables were set correctly. However, a sysctl -a | grep igb
came up empty.
If I want to set them manually:
sysctl -w dev.igb.0.fc=0
sysctl: unknown oid 'dev.igb.0.fc'
Have these tuneables been removed?
Is there any other way to disable hardware flow control?
Are you sure your devices are igb?
From my box:
root@firewall:~ # sysctl -a | grep igb | wc -l
1945
root@firewall:~ # dmidecode | grep X11
Product Name: X11SDW-4C-TP13F
String 2: Supermicro motherboard-X11 Series
root@firewall:~ # ifconfig -a | grep igb
igb0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
inet6 fe80::ae1f:6bff:fec3:e9e8%igb0 prefixlen 64 scopeid 0x1
igb1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
inet6 fe80::ae1f:6bff:fec3:e9e9%igb1 prefixlen 64 scopeid 0x2
igb2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
igb3: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
igb4: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
igb5: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
igb6: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
igb7: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
igb8: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
root@firewall:~ #
You probably don't have igb hardware so these sysctls don't exist on your system. Please do 'ifconfig -a' to see what hardware and drivers you're using.
What's more, not all of the sysctl you mentioned are applicable anymore, because they are from older FreeBSD versions. Generally it is advised to use tuning according to your needs and situation, and don't blindly copy and past stuff from the internet.