Virtio network interfaces
When running the Anapaya appliance in a virtualized environment, you can use Virtio network interfaces when SRIOV is not available. It is generally recommended to use SRIOV interfaces for better performance.
Configuration
To use Virtio network interfaces for data traffic, configure the appliance to use the VPP_DPDK
driver by setting the VPP_DPDK
driver in the interfaces.ethernets
section of the appliance
configuration. To use Virtio interfaces for management traffic, set the LINUX
driver in the
interfaces.ethernets
section.
Multiqueue
If the hypervisor supports the multiqueue and RSS Virtio features, you can enable multiqueue support for Virtio interfaces to improve performance.
In case RSS is not supported by the hypervisor, you must set the num_rx_queues
option in the
relevant interfaces.ethernets
section of the appliance configuration to the number of queues
configured in the hypervisor. This is not a recommended configuration and may lead to suboptimal
performance.
Refer to the Performance optimization guide for more information on the appliance configuration.