Disable cpu pinning & L3 HA features 59/56059/2
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Thu, 19 Apr 2018 10:49:09 +0000 (14:49 +0400)
committerMichael Polenchuk <mpolenchuk@mirantis.com>
Thu, 19 Apr 2018 14:58:50 +0000 (18:58 +0400)
* CPU pinning: tests have no support for dedicated CPU policy, so
  enabled pinning causes general performance impact
  [https://docs.openstack.org/nova/pike/admin/cpu-topologies.html]
* L3 HA routers:
  - doesn't catch l3-agent failure, relies only on
    HA network state to spot failure
  - failover process only retains the state of network
    connections for instances with a floating IP address
  - incompatible with DVR mode

JIRA: FUEL-360
Change-Id: Ie0182bf953b9989729f89d705d9fee902d229e51
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
mcp/reclass/classes/cluster/all-mcp-arch-common/infra/config_dpdk_pdf.yml.j2
mcp/reclass/classes/cluster/all-mcp-arch-common/infra/config_pdf.yml.j2
mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_compute_pdf.yml.j2
mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_init.yml.j2
mcp/reclass/classes/cluster/mcp-pike-ovs-dpdk-ha/openstack/compute.yml

index 6cf04b3..703d535 100644 (file)
@@ -24,11 +24,10 @@ parameters:
 {%- endfor %}
 {%- endif %}
 {%- else %}
-            nova_cpu_pinning: '"5-7,13-15"'
             compute_hugepages_size: 2M
             compute_hugepages_count: 8192
             compute_hugepages_mount: /mnt/hugepages_2M
-            compute_kernel_isolcpu: 2,3,5,6,7,10,11,13,14,15
+            compute_kernel_isolcpu: 2,3,10,11
             compute_dpdk_driver: uio
             compute_ovs_pmd_cpu_mask: '"0xc04"'
             compute_ovs_dpdk_socket_mem: '"2048,2048"'
index 477c095..fb25cc6 100644 (file)
@@ -25,11 +25,9 @@ parameters:
             dummy_value: ~
 {%- endif %}
 {%- else %}
-            nova_cpu_pinning: &nova_cpu_pinning_common '"1,2,3,4,5,7,8,9,10,11"'
             compute_hugepages_size: 1G
             compute_hugepages_count: 16
             compute_hugepages_mount: /mnt/hugepages_1G
-            compute_kernel_isolcpu: *nova_cpu_pinning_common
 {%- endif %}
         openstack_compute_node02:
           <<: *openstack_compute_node01
index 998253c..fd51f5f 100644 (file)
 {%- set nics = { nm.cmp001.nic_admin: True, nm.cmp001.nic_mgmt: True } %}
 {%- set vlans = { nm.vlan_admin: nm.cmp001.nic_admin, nm.vlan_mgmt: nm.cmp001.nic_mgmt } %}
 ---
-{%- if not conf.nodes[nm.cmp001.idx].node.type == 'virtual' %}
-classes:
-  - system.nova.compute.nfv.cpu_pinning
-{%- endif %}
 parameters:
   _param:
     # Should later be determined via PDF/IDF, AArch64 has ESP on /dev/sda1
index 6030566..f653385 100644 (file)
@@ -137,7 +137,6 @@ parameters:
     admin_email: root@localhost
     # Neutron osv/nodvr
     neutron_control_dvr: 'False'
-    neutron_l3_ha: 'True'
     neutron_global_physnet_mtu: 1500
     neutron_external_mtu: 1500
     neutron_gateway_dvr: 'False'
index 13fffea..d121c08 100644 (file)
@@ -22,3 +22,7 @@ parameters:
     compute:
       libvirt_service: libvirtd
       libvirt_bin: /etc/default/libvirtd
+  linux:
+    system:
+      kernel:
+        isolcpu: ${_param:compute_kernel_isolcpu}