How to do it...

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:

  1. Log in to the ESXi host using an SSH client (Putty).
  2. Now run the esxcli system settings kernel with the following command:
~ # esxcli system settings kernel set --setting=" netNetqueueEnabled" --value="TRUE"
  1. Run the following command to find the network driver:
~ # esxcfg-nics -l
  1. 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"
  1. Once you set the parameter, use the following command to list the parameters and options:
~ # esxcli system module parameters list -m s2io | more
  1. Reboot the host.

If you want to disable the NetQueue feature for any reason, follow these steps:

  1. Log in to the ESXi host using an SSH client (Putty).
  2. Now run the esxcli system settings kernel with the following command:
~ # esxcli system settings kernel set --setting=" netNetqueueEnabled" --value="FALSE"
  1. Run the following command to find the network driver:
~ # esxcfg-nics -l
  1. 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="
  1. Now list the parameters as follows to check whether it has been taken off or not:
~ # esxcli system module parameters list -m s2io | more
  1. Reboot the host.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset