{%- 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"'
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
{%- 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
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'
compute:
libvirt_service: libvirtd
libvirt_bin: /etc/default/libvirtd
+ linux:
+ system:
+ kernel:
+ isolcpu: ${_param:compute_kernel_isolcpu}