[IDF] arm-pod5: Configure hugepages and cpupinning variables for armpod5 01/53801/3
authorCharalampos Kominos <Charalampos.Kominos@enea.com>
Wed, 14 Mar 2018 14:43:34 +0000 (15:43 +0100)
committerCharalampos Kominos <Charalampos.Kominos@enea.com>
Thu, 15 Mar 2018 10:29:59 +0000 (11:29 +0100)
For non-dpdk scenarios we define as cpu config:
        0,1 for OS
        2-7 for nova
For dpdk scenarios we define as cpu config:
        0,1 for OS,
        2,3 for DPDK drivers and processes
        4-7 for nova

JIRA: ARMBAND-364

Change-Id: Icc976e8511fed221b71a348afda3cbe4e0556b1a
Signed-off-by: Charalampos Kominos <charalampos.kominos@enea.com>
labs/arm/idf-pod5.yaml

index a0c20df..5c9df09 100644 (file)
@@ -78,3 +78,29 @@ idf:
           busaddr: *busaddr
         - interfaces: *interfaces
           busaddr: *busaddr
+    reclass:
+      node:
+        - compute_params: &compute_params
+            common:
+              nova_cpu_pinning: &nova_cpu_pinning_common "2,3,4,5,6,7"
+              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: "4-7"
+              compute_hugepages_size: 2M
+              compute_hugepages_count: 8192
+              compute_hugepages_mount: /mnt/hugepages_2M
+              compute_kernel_isolcpu: *nova_cpu_pinning_common
+              compute_dpdk_driver: vfio
+              compute_ovs_pmd_cpu_mask: "0xc"
+              compute_ovs_dpdk_socket_mem: "4096"
+              compute_ovs_dpdk_lcore_mask: "0xc"
+              compute_ovs_memory_channels: "2"
+              dpdk0_driver: vfio-pci
+              dpdk0_n_rxq: 2
+        - compute_params: *compute_params
+        - compute_params: *compute_params
+        - compute_params: *compute_params
+        - compute_params: *compute_params