Fortinet white logo
Fortinet white logo

VMware ESXi Administration Guide

DPDK CPU settings

DPDK CPU settings

The CPUs acting as DPDK engines are specified. They are four stages, a processing pipeline, for handling packets from Rx to vNP to IPS toTx. Generally, the simplest allocation model, enabling all CPUs to all stages, gives the best results.

config dpdk cpus

set rx-cpus "0-31"

set vnp-cpus "0-31"

set ips-cpus "0-31"

set tx-cpus "0-31"

end

See DPDK CPU settings for a detailed explanation of these configuration items.

Note

There are times when ringfencing CPUs to be used for purposes other than DPDK can provide a more performant system.

Note

In FortiOS 7.0.2, set isolated-cpus was introduced to protect the DPDK applications from non-DPDK system operations. An example of using this feature is with the ESXi i40en PF driver. The driver allows the DPDK environment to address only a shallow Rx buffer by making the DPDK Rx stage less tolerant to CPU cycles being used elsewhere. This setting allows protection of the Rx stage decreasing the chance of Rx dropped packets.

DPDK CPU settings

DPDK CPU settings

The CPUs acting as DPDK engines are specified. They are four stages, a processing pipeline, for handling packets from Rx to vNP to IPS toTx. Generally, the simplest allocation model, enabling all CPUs to all stages, gives the best results.

config dpdk cpus

set rx-cpus "0-31"

set vnp-cpus "0-31"

set ips-cpus "0-31"

set tx-cpus "0-31"

end

See DPDK CPU settings for a detailed explanation of these configuration items.

Note

There are times when ringfencing CPUs to be used for purposes other than DPDK can provide a more performant system.

Note

In FortiOS 7.0.2, set isolated-cpus was introduced to protect the DPDK applications from non-DPDK system operations. An example of using this feature is with the ESXi i40en PF driver. The driver allows the DPDK environment to address only a shallow Rx buffer by making the DPDK Rx stage less tolerant to CPU cycles being used elsewhere. This setting allows protection of the Rx stage decreasing the chance of Rx dropped packets.