NetQueue is enabled by default. Disabling or enabling NetQueue on a host is done using VMware's vSphere Command-Line Interface (vCLI).
To enable and disable this feature, perform the following activity:
- Log in to the ESXi host using an SSH client (Putty).
- Now run the esxcli system settings kernel with the following command:
~ # esxcli system settings kernel set --setting=" netNetqueueEnabled" --value="TRUE"
- Run the following command to find the network driver:
~ # esxcfg-nics -l
- Use the VMware vSphere CLI to configure the NIC driver to use NetQueue. The following command assumes that you are using the s2io driver:
~ # esxcli system module parameters set -m s2io -p "intr_type=2 rx_ring_num=8"
- Once you set the parameter, use the following command to list the parameters and options:
~ # esxcli system module parameters list -m s2io | more
- Reboot the host.
If you want to disable the NetQueue feature for any reason, follow these steps:
- Log in to the ESXi host using an SSH client (Putty).
- Now run the esxcli system settings kernel with the following command:
~ # esxcli system settings kernel set --setting=" netNetqueueEnabled" --value="FALSE"
- Run the following command to find the network driver:
~ # esxcfg-nics -l
- Now disable the NIC driver to use NetQueue, using the following command:
~ # esxcli system module parameters set -m s2io -p "intr_type= rx_ring_num="
- Now list the parameters as follows to check whether it has been taken off or not:
~ # esxcli system module parameters list -m s2io | more
- Reboot the host.