OPNsense Forum

Archive => 22.1 Legacy Series => Topic started by: Bytechanger on February 05, 2022, 12:53:51 PM

Title: OPNSense on Proxmox-> Multiqueue ?
Post by: Bytechanger on February 05, 2022, 12:53:51 PM
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
Title: Re: OPNSense on Proxmox-> Multiqueue ?
Post by: Bytechanger on February 05, 2022, 12:56:09 PM
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
Title: Re: OPNSense on Proxmox-> Multiqueue ?
Post by: Bytechanger on February 06, 2022, 08:34:09 AM
No idea?

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

Greets

Byte
Title: Re: OPNSense on Proxmox-> Multiqueue ?
Post by: Vesalius on February 06, 2022, 05:16:10 PM
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.
Title: Re: OPNSense on Proxmox-> Multiqueue ?
Post by: franco on February 07, 2022, 01:04:29 PM
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
Title: Re: OPNSense on Proxmox-> Multiqueue ?
Post by: tokade on February 07, 2022, 04:46:14 PM
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 (https://github.com/ocochard/BSDRP/blob/master/BSDRP/Files/usr/local/bin/nic-queue-usage)

Regards
Torsten