Network cards fine tune
-
Hello,
Network cards Fine Tuning
https://doc.pfsense.org/index.php/Tuning_and_Troubleshooting_Network_CardsCertain intel igb cards, especially multi-port cards, can very easily/quickly exhaust mbufs and cause panics, especially on amd64. The following tweaks should help:
In /boot/loader.conf.local - Add the following (or create the file if it does not exist):kern.ipc.nmbclusters="131072"
hw.igb.num_queues=1DO WE STILL NEED TO DO THIS ON VERSION 2.2.4?
THANKS
-
-
I thought "hw.igb.num_queues=1" was mostly an issue for the Intel cards that exposed multiple queues via the driver, but on the backend, they really had one queue which requires locking. I was under the impression that their newer server NICs have real multi-queue support.
-
I thought "hw.igb.num_queues=1" was mostly an issue for the Intel cards that exposed multiple queues via the driver, but on the backend, they really had one queue which requires locking. I was under the impression that their newer server NICs have real multi-queue support.
I didn't notice that was quoted, thought it was just a reference to what the linked page currently shows. There's good reason that is no longer listed, the multi-queue in the igb driver was broken in some older FreeBSD versions in ways that would reduce performance, but that hasn't been true of any 2.2.x version so it was removed from that page some time ago. It was a driver issue in FreeBSD 8.x and earlier that no longer applies.
-
In /boot/loader.conf.local - Add the following (or create the file if it does not exist):
kern.ipc.nmbclusters="1000000"
i have only /boot/loader.conf, how do i create conf.local
-
you can create it using vi or ee or upload it with your favorite scp/sftp client