[rdo-users] [Tripleo] Composable role for compute nodes with OVS-DPDK

Samuel Monderer smonderer at vasonanetworks.com
Wed Nov 15 17:18:39 UTC 2017


Hi,

I've deployed an overcloud with RHOSP11 with multiple roles for compute
nodes with ovs-dpdk.
I used a different role for each group of compute nodes that have a
different amount cores.
Therefor I set the following parameters to set the cores configuration
accordingly

  NeutronDpdkCoreList: "100"
  HostCpusList: "100"

  ComputeV4NeutronDpdkCoreList: "22,46,23,47"
  ComputeV4HostCpusList: "0,24"
  ComputeV4ExtraConfig:
    nova::compute::vcpu_pin_set: ['1-21','25-45']
    vswitch::dpdk::pmd_core_list: "22,46,23,47"
    vswitch::dpdk::host_core_list: "0,24"
  ComputeV4KernelArgs: "default_hugepagesz=1GB hugepagesz=1G hugepages=124
intel_iommu=on iommu=pt"
  ComputeV4HostIsolatedCoreList: '1-23,25-47'

  ComputeV4NeutronDpdkCoreList: "22,46,23,47"
  ComputeV4HostCpusList: "0,16"
  ComputeV3ExtraConfig:
    nova::compute::vcpu_pin_set: ['1-13','17-29']
    vswitch::dpdk::pmd_core_list: "14,15,30,31"
    vswitch::dpdk::host_core_list: "0,16"
  ComputeV3KernelArgs: "default_hugepagesz=1GB hugepagesz=1G hugepages=124
intel_iommu=on iommu=pt"
  ComputeV3HostIsolatedCoreList: '1-15,17-31'

NeutronDpdkCoreList and HostCpusList have dummy values that are overwritten
by "vswitch::dpdk::pmd_core_list" and "vswitch::dpdk::host_core_list" under
[ROLE]ExtraConfig part
The [ROLE]NeutronDpdkCoreList, [ROLE]HostCpusList,
[ROLE]HostIsolatedCoreList are used in the first_boot.yaml

It works but wondering if there is a better way to do that??

Samuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/users/attachments/20171115/857e364b/attachment.html>


More information about the users mailing list