[IDF] arm-pod6: Adjust CPU pinning variables 25/55425/1
authorGuillermo Herrero <guillermo.herrero@enea.com>
Wed, 11 Apr 2018 15:42:50 +0000 (17:42 +0200)
committerGuillermo Herrero <guillermo.herrero@enea.com>
Wed, 11 Apr 2018 15:42:50 +0000 (17:42 +0200)
For non-dpdk scenarios we define as cpu config:
  0-7   for OS
  8-47  for nova

For dpdk scenarios we define as cpu config:
  0-7   for OS
  8-11  for DPDK drivers and processes
  12-47 for nova

Change-Id: Ia9d7cfaee76f996993b94a52e1484752157a23cd
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
labs/arm/idf-pod6.yaml

index 4599358..31998eb 100644 (file)
@@ -87,21 +87,21 @@ idf:
       node:
         - compute_params: &compute_params
             common:
-              nova_cpu_pinning: &nova_cpu_pinning_common "1,2,3,4,5,6,7,8,9,10,11,12"
+              nova_cpu_pinning: &nova_cpu_pinning_common "8-47"
               compute_hugepages_size: 2M
               compute_hugepages_count: 8192
               compute_hugepages_mount: /mnt/hugepages_2M
               compute_kernel_isolcpu: *nova_cpu_pinning_common
             dpdk:
-              nova_cpu_pinning: "5-7,13-15"
+              nova_cpu_pinning: "12-47"
               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: *nova_cpu_pinning_common
               compute_dpdk_driver: vfio
-              compute_ovs_pmd_cpu_mask: "0xc04"
+              compute_ovs_pmd_cpu_mask: "0x300"
               compute_ovs_dpdk_socket_mem: "2048"
-              compute_ovs_dpdk_lcore_mask: "0x8"
+              compute_ovs_dpdk_lcore_mask: "0xC00"
               compute_ovs_memory_channels: "2"
               dpdk0_driver: vfio-pci
               dpdk0_n_rxq: 2