From 096d8e74b579677b934ff5da9c423da74549cc70 Mon Sep 17 00:00:00 2001 From: Michael Polenchuk Date: Fri, 1 Sep 2017 15:11:15 +0400 Subject: [PATCH] [baremetal] Tune dpdk/compute cpu pinning Change-Id: I733c6c9f1f5aa559084998aa9bc639079bda83a5 Signed-off-by: Michael Polenchuk --- .../baremetal-mcp-ocata-ovs-dpdk-ha/openstack/init.yml | 12 ++++++------ mcp/reclass/classes/system | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-dpdk-ha/openstack/init.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-dpdk-ha/openstack/init.yml index bfe0d8ca5..016fcb8f5 100644 --- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-dpdk-ha/openstack/init.yml +++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-dpdk-ha/openstack/init.yml @@ -95,15 +95,15 @@ parameters: rabbitmq_admin_password: opnfv_secret rabbitmq_openstack_password: opnfv_secret neutron_tenant_vlan_range: "1000:1030" - nova_cpu_pinning: "1,2,3,4,5,7,8,9,10,11" + nova_cpu_pinning: "5-7,13-15" compute_hugepages_size: 1G - compute_hugepages_count: 16 + compute_hugepages_count: 12 compute_hugepages_mount: /mnt/hugepages_1G - compute_kernel_isolcpu: ${_param:nova_cpu_pinning} + compute_kernel_isolcpu: 2,5,6,7,9,10,13,14,15 compute_dpdk_driver: uio - compute_ovs_pmd_cpu_mask: "0x6" - compute_ovs_dpdk_socket_mem: "1024" - compute_ovs_dpdk_lcore_mask: "0x400" + compute_ovs_pmd_cpu_mask: "0x2060" + compute_ovs_dpdk_socket_mem: "1024,1024" + compute_ovs_dpdk_lcore_mask: "0x1000" compute_ovs_memory_channels: "2" glance_version: ${_param:openstack_version} glance_service_host: ${_param:openstack_control_address} diff --git a/mcp/reclass/classes/system b/mcp/reclass/classes/system index 4967aeda2..4b335b98f 160000 --- a/mcp/reclass/classes/system +++ b/mcp/reclass/classes/system @@ -1 +1 @@ -Subproject commit 4967aeda27a379d07f7a466dc2d6ace728ee63a3 +Subproject commit 4b335b98fae73d59af0eb4bf81e33369d55a94c8 -- 2.16.6