Author Archives: lgoldber
Author Archives: lgoldber
DPDK (Data Plane Development Kit) is a set of open-source high-performance packet processing libraries and user space drivers.
oVirt support for DPDK was introduced in 2017, and is now enhanced in terms of deployment via Ansible and usage via Open Virtual Network.
While still experimental, OVN-DPDK in oVirt is now available in version 4.2.
Host configuration for DPDK usage is now automated using Ansible. This primarly includes:
The role is installed via Ansible galaxy:
# ansible-galaxy install oVirt.dpdk-setup
An example playbook:
- hosts: dpdk_host_0
vars:
pci_drivers:
"0000:02:00.1": "vfio-pci"
"0000:02:00.2": "igb"
"0000:02:00.3": ""
configure_kernel: true
bind_drivers: true
set_ovs_dpdk: false
roles:
- ovirt-ansible-dpdk-setup
The role is controlled by 3 boolean variables (all set to true
by default) and a dictionary of devices and their drivers:
configure_kernel
– determines whether the kernel should be configured for DPDK usage (hugepages, CPU partitioning). WARNING: When set to true
it is very likely to trigger a reboot of the host, unless all required configuration is already Continue readingDPDK (Data Plane Development Kit) is a set of open-source high-performance packet processing libraries and user space drivers.
oVirt support for DPDK was introduced in 2017, and is now enhanced in terms of deployment via Ansible and usage via Open Virtual Network.
While still experimental, OVN-DPDK in oVirt is now available in version 4.2.
Host configuration for DPDK usage is now automated using Ansible. This primarly includes:
The role is installed via Ansible galaxy:
# ansible-galaxy install oVirt.dpdk-setup
An example playbook:
- hosts: dpdk_host_0
vars:
pci_drivers:
"0000:02:00.1": "vfio-pci"
"0000:02:00.2": "igb"
"0000:02:00.3": ""
configure_kernel: true
bind_drivers: true
set_ovs_dpdk: false
roles:
- ovirt-ansible-dpdk-setup
The role is controlled by 3 boolean variables (all set to true
by default) and a dictionary of devices and their drivers:
configure_kernel
– determines whether the kernel should be configured for DPDK usage (hugepages, CPU partitioning). WARNING: When set to true
it is very likely to trigger a reboot of the host, unless all required configuration is already Continue reading