OPNSense on Proxmox-> Multiqueue ?

Started by Bytechanger, February 05, 2022, 12:53:51 PM

Previous topic - Next topic
Hi,

I run OPNSense on my Proxmox-Server und want to enable Multiqueue (Value are my vm-cpu-cores).

The instructions say to enter the following command
ethtool -L ens1 combine 4

But ethtool is not on OPNSense. Are there "tunables" values for it or should I set something else tu run multiqueue?

Greets

Byte

February 05, 2022, 12:56:09 PM #1 Last Edit: February 05, 2022, 12:58:29 PM by Bytechanger
Saw some values:

hw.igb.rx_process_limit="-1"
hw.igb.tx_process_limit="-1"
legal.intel_igb.license_ack="1"

or

net.isr.maxthreads="-1"
net.isr.bindthreads="1"

or

hw.pci.honor_msi_blacklist=0
hw.vmx.txnqueue=4
hw.vmx.rxnqueue=4
hw.vmx.txndesc=2048
hw.vmx.rxndesc=2048


Don“t know wich is working

No idea?

How can i check, if opnsense is using multiqueue?
On Interfaces->Overview I can t see anything special.

Greets

Byte

February 06, 2022, 05:16:10 PM #3 Last Edit: February 06, 2022, 05:19:12 PM by Vesalius
No idea, but I would also be interested in the answer from @franco or others on this one. I know they are exceedingly busy and have been going nonstop with the new release and much larger issues, so I wouldn't begrudge them weekend time away. I suspect this is handled transparently in the background now by either FreeBSD 13 natively or opnsense 22.1 tweaks, but would be nice to confirm. Hopefully they find time to chime in during the work week.

I would say it first and foremost depends on the driver being used to be multi-queue capable and then a driver-specific setting if it's even possible to alter it. Some drivers have fixed queue counts based on their hardware (or what is being emulated).


Cheers,
Franco

Found this script about the usage of queues, but don't know it it works with the current release:
https://github.com/ocochard/BSDRP/blob/master/BSDRP/Files/usr/local/bin/nic-queue-usage

Regards
Torsten