aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaganathan Palanisamy <jpalanis@redhat.com>2017-07-05 06:57:46 -0400
committerJaganathan Palanisamy <jpalanis@redhat.com>2017-07-05 07:57:43 -0400
commit9b3b1c6358b64a81726bfa23c5f16007859dcf75 (patch)
tree3d314ea19fdebdd686a191f8eaeb3d9972f15a0c
parent0ff01e369c84232c439f98799a623f04f36b7f0c (diff)
Workflow input parameter update in plan-environment
derive_parameters workflow input parameter needs to be changed as num_phy_cores_per_numa_node_for_pmd instead of number_of_pmd_cpu_threads_per_numa_node. The performance varies based on the physical core rather than the logical CPUs. Which means, user should be able to decide the number of physical cores, which is proportional to data rate. Implements: blueprint tripleo-derive-parameters Change-Id: I056fb330a17e647ab527e8bccd52bdf5e77067b6
-rw-r--r--plan-samples/README.rst4
-rw-r--r--plan-samples/plan-environment-derived-params.yaml6
2 files changed, 5 insertions, 5 deletions
diff --git a/plan-samples/README.rst b/plan-samples/README.rst
index 44b9d0cd..b3c2d1df 100644
--- a/plan-samples/README.rst
+++ b/plan-samples/README.rst
@@ -15,8 +15,8 @@ commands. The sample format to provide the workflow specific parameters::
workflow_parameters:
tripleo.derive_params.v1.derive_parameters:
# DPDK Parameters
- number_of_pmd_cpu_threads_per_numa_node: 2
+ num_phy_cores_per_numa_node_for_pmd: 2
All the parameters specified under the workflow name will be passed as
-``user_input`` to the workflow, while invoking from the tripleoclient. \ No newline at end of file
+``user_input`` to the workflow, while invoking from the tripleoclient.
diff --git a/plan-samples/plan-environment-derived-params.yaml b/plan-samples/plan-environment-derived-params.yaml
index 964e57d2..8f250716 100644
--- a/plan-samples/plan-environment-derived-params.yaml
+++ b/plan-samples/plan-environment-derived-params.yaml
@@ -9,11 +9,11 @@ environments:
workflow_parameters:
tripleo.derive_params.v1.derive_parameters:
######### DPDK Parameters #########
- # Specifices the minimum number of CPU threads to be allocated for DPDK
+ # Specifices the minimum number of CPU physical cores to be allocated for DPDK
# PMD threads. The actual allocation will be based on network config, if
# the a DPDK port is associated with a numa node, then this configuration
- # will be used, else 0.
- number_of_pmd_cpu_threads_per_numa_node: 4
+ # will be used, else 1.
+ num_phy_cores_per_numa_node_for_pmd: 2
# Amount of memory to be configured as huge pages in percentage. Ouf the
# total available memory (excluding the NovaReservedHostMemory), the
# specified percentage of the remaining is configured as huge pages.