1 # A Heat environment that can be used to deploy DPDK with OVS
2 # Deploying DPDK requires enabling hugepages for the overcloud nodes
4 OS::TripleO::Services::ComputeNeutronOvsAgent: ../puppet/services/neutron-ovs-dpdk-agent.yaml
7 NeutronDatapathType: "netdev"
8 NeutronVhostuserSocketDir: "/var/lib/vhost_sockets"
9 NovaSchedulerDefaultFilters: "RamFilter,ComputeFilter,AvailabilityZoneFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,NUMATopologyFilter"
10 ## Deploying DPDK requires enabling hugepages for the overcloud compute nodes.
11 ## It also requires enabling IOMMU when using the VFIO (vfio-pci) OvsDpdkDriverType.
12 ## This can be done using ComputeKernelArgs as shown below.
14 #ComputeKernelArgs: "intel_iommu=on default_hugepagesz=2MB hugepagesz=2MB hugepages=2048"
15 ## Attempting to deploy DPDK without appropriate values for the below parameters may lead to unstable deployments
16 ## due to CPU contention of DPDK PMD threads.
17 ## It is highly recommended to to enable isolcpus (via ComputeKernelArgs) on compute overcloud nodes and set the following parameters:
18 #OvsDpdkSocketMemory: "" # Sets the amount of hugepage memory to assign per NUMA node.
19 # It is recommended to use the socket closest to the PCIe slot used for the
20 # desired DPDK NIC. Format should be comma separated per socket string such as:
21 # "<socket 0 mem MB>,<socket 1 mem MB>", for example: "1024,0".
22 #OvsDpdkDriverType: "vfio-pci" # Ensure the Overcloud NIC to be used for DPDK supports this UIO/PMD driver.
23 #OvsPmdCoreList: "" # List or range of CPU cores for PMD threads to be pinned to. Note, NIC
24 # location to cores on socket, number of hyper-threaded logical cores, and
25 # desired number of PMD threads can all play a role in configuring this setting.
26 # These cores should be on the same socket where OvsDpdkSocketMemory is assigned.
27 # If using hyperthreading then specify both logical cores that would equal the
28 # physical core. Also, specifying more than one core will trigger multiple PMD
29 # threads to be spawned, which may improve dataplane performance.
30 #NovaVcpuPinSet: "" # Cores to pin Nova instances to. For maximum performance, select cores
31 # on the same NUMA node(s) selected for previous settings.