summaryrefslogtreecommitdiffstats
path: root/mcp
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2019-04-11 17:42:49 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2019-04-12 14:39:01 +0400
commitf2e8f88cced6b61adbd8d22763253fdd9f8ec0e6 (patch)
tree328aa2b26c8dc8a22d915ec62f1c4c3c38571b11 /mcp
parent1f1ce259c085485dc315d212e58c6fdca2e1cda4 (diff)
[baremetal] Tune up dpdk options
Optimized for LF-POD2 as nic assigned to private/dpdk interface and pinned cores resides on numa #0. Core #11 is for DPDK, the rest four cores for PMDs. Change-Id: Icca701bc1a66f3672b8511e0245c82ca29788a8b Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp')
-rw-r--r--mcp/reclass/classes/cluster/all-mcp-arch-common/infra/config_pdf.yml.j210
-rw-r--r--mcp/reclass/classes/cluster/mcp-fdio-noha/infra/config.yml.j210
2 files changed, 10 insertions, 10 deletions
diff --git a/mcp/reclass/classes/cluster/all-mcp-arch-common/infra/config_pdf.yml.j2 b/mcp/reclass/classes/cluster/all-mcp-arch-common/infra/config_pdf.yml.j2
index 489a22fd4..f735a9db0 100644
--- a/mcp/reclass/classes/cluster/all-mcp-arch-common/infra/config_pdf.yml.j2
+++ b/mcp/reclass/classes/cluster/all-mcp-arch-common/infra/config_pdf.yml.j2
@@ -81,13 +81,13 @@ parameters:
{%- endif %}
{%- else %}
compute_hugepages_size: 2M
- compute_hugepages_count: 8192
+ compute_hugepages_count: 13312
compute_hugepages_mount: /mnt/hugepages_2M
- compute_kernel_isolcpu: 2,3,10,11
+ compute_kernel_isolcpu: 3,8,9,10,11
compute_dpdk_driver: uio
- compute_ovs_pmd_cpu_mask: '"0xc04"'
- compute_ovs_dpdk_socket_mem: '"2048,2048"'
- compute_ovs_dpdk_lcore_mask: '"0x8"'
+ compute_ovs_pmd_cpu_mask: '"0x708"'
+ compute_ovs_dpdk_socket_mem: '"4096,4096"'
+ compute_ovs_dpdk_lcore_mask: '"0x800"'
compute_ovs_memory_channels: '"2"'
dpdk0_driver: igb_uio
dpdk0_n_rxq: 2
diff --git a/mcp/reclass/classes/cluster/mcp-fdio-noha/infra/config.yml.j2 b/mcp/reclass/classes/cluster/mcp-fdio-noha/infra/config.yml.j2
index fefdf217e..0c5eef8c2 100644
--- a/mcp/reclass/classes/cluster/mcp-fdio-noha/infra/config.yml.j2
+++ b/mcp/reclass/classes/cluster/mcp-fdio-noha/infra/config.yml.j2
@@ -41,13 +41,13 @@ parameters:
{%- endif %}
{%- else %}
compute_hugepages_size: 2M
- compute_hugepages_count: 8192
+ compute_hugepages_count: 13312
compute_hugepages_mount: /mnt/hugepages_2M
- compute_kernel_isolcpu: 2,3,10,11
+ compute_kernel_isolcpu: 3,8,9,10,11
compute_dpdk_driver: uio
- compute_ovs_pmd_cpu_mask: '"0xc04"'
- compute_ovs_dpdk_socket_mem: '"2048,2048"'
- compute_ovs_dpdk_lcore_mask: '"0x8"'
+ compute_ovs_pmd_cpu_mask: '"0x708"'
+ compute_ovs_dpdk_socket_mem: '"4096,4096"'
+ compute_ovs_dpdk_lcore_mask: '"0x800"'
compute_ovs_memory_channels: '"2"'
dpdk0_driver: igb_uio
dpdk0_n_rxq: 2