aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/neutron-ovs-dpdk-agent.yaml
diff options
context:
space:
mode:
authorJaganathan Palanisamy <jpalanis@redhat.com>2016-12-19 10:08:41 -0500
committerJaganathan Palanisamy <jpalanis@redhat.com>2016-12-20 01:25:13 -0500
commite3edcb266be520391c9e044f9dcc37dbcf80b8fd (patch)
treeee598637388ddb879eacb7d5b0fac80381243988 /puppet/services/neutron-ovs-dpdk-agent.yaml
parentd78e6c28221b1940ce21532860d8d67833aa5502 (diff)
Configure DPDK options to isolate PMD cores and ovs process cores
The parameter -l in DPDK_OPTIONS is applied to both list cores to be used by PMD and the list of cores that all the OVS threads should run on. This will impact the DPDK performance, as cores on which PMD are running, should be completely isolated (no other process should) use it. For this, we are configuring, -l option with list of host cpus and the list PMD cores will be configured using ovs-vsctl config command. Depends-On: Ib95281bcbde34c18d26ee11d4e2603b267db563b Change-Id: Ie8e2939abfd3447b2fc028a78fd2f2e9c2d8d5b5 Fixes-Bug: #1649836
Diffstat (limited to 'puppet/services/neutron-ovs-dpdk-agent.yaml')
-rw-r--r--puppet/services/neutron-ovs-dpdk-agent.yaml8
1 files changed, 7 insertions, 1 deletions
diff --git a/puppet/services/neutron-ovs-dpdk-agent.yaml b/puppet/services/neutron-ovs-dpdk-agent.yaml
index fdfa1c03..5c861012 100644
--- a/puppet/services/neutron-ovs-dpdk-agent.yaml
+++ b/puppet/services/neutron-ovs-dpdk-agent.yaml
@@ -18,6 +18,11 @@ parameters:
description: Mapping of service endpoint -> protocol. Typically set
via parameter_defaults in the resource registry.
type: json
+ HostCpusList:
+ description: List of cores to be used for host process
+ type: string
+ constraints:
+ - allowed_pattern: "'[0-9,-]+'"
NeutronDpdkCoreList:
description: List of cores to be used for DPDK Poll Mode Driver
type: string
@@ -68,7 +73,8 @@ outputs:
- neutron::agents::ml2::ovs::enable_dpdk: true
neutron::agents::ml2::ovs::datapath_type: {get_param: NeutronDatapathType}
neutron::agents::ml2::ovs::vhostuser_socket_dir: {get_param: NeutronVhostuserSocketDir}
- vswitch::dpdk::core_list: {get_param: NeutronDpdkCoreList}
+ vswitch::dpdk::host_core_list: {get_param: HostCpusList}
+ vswitch::dpdk::pmd_core_list: {get_param: NeutronDpdkCoreList}
vswitch::dpdk::memory_channels: {get_param: NeutronDpdkMemoryChannels}
vswitch::dpdk::socket_mem: {get_param: NeutronDpdkSocketMemory}
vswitch::dpdk::driver_type: {get_param: NeutronDpdkDriverType}