The Transmit Queue Length (txqueuelen
) is a TCP/IP stack network interface
value that sets the number of packets allowed per kernel transmit queue of a
network interface device.
By default, the txqueuelen
value for TAP interfaces
is set to 1000
in the MCP Build ID 2019.2.0
and to 10000
in the MCP 2019.2.3 maintenance update.
You can also tune the txqueuelen
value for TAP interfaces
to optimize VM network performance under high load in certain scenarios.
To set a custom Transmit Queue Length value for TAP interfaces:
Log in to the Salt Master node.
Set the tap_custom_txqueuelen
parameter for the OpenContrail or
OVS compute nodes in one of the following files as required:
cluster/<cluster_name>/opencontrail/networking/compute.yml
file.cluster/<cluster_name>/openstack/networking/compute.yml
file.Example:
linux:
network:
...
tap_custom_txqueuelen: 20000
Apply the change:
salt '*' state.sls linux
Verify that the txqueuelen
value has changed:
txqueuelen
value should equal the newly set value.