diff options
author | Charalampos Kominos <Charalampos.Kominos@enea.com> | 2018-03-14 13:56:17 +0100 |
---|---|---|
committer | Charalampos Kominos <Charalampos.Kominos@enea.com> | 2018-03-22 16:17:24 +0100 |
commit | 8eaad5ca6c3e74fb310115e1733232909b2e27db (patch) | |
tree | db45219fbbaa0fdf0158b80e94f3441fe7330991 | |
parent | a02c9ccbd8cd58104dacb048833556e209ef21d3 (diff) |
[IDF] arm-pod7: Configure hugepages and cpupinning variables for armpod7
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
Dpdk config is also provided for the 3 thunderx nodes which currently
serve as KVM nodes. The config is similar to the config above with
cores 4-47 being used for nova.
JIRA: ARMBAND-364
Change-Id: I761aa8e73935b7180f4f377841cc93c9d81cf4d7
Signed-off-by: Charalampos Kominos <charalampos.kominos@enea.com>
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
-rw-r--r-- | labs/arm/idf-pod7.yaml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/labs/arm/idf-pod7.yaml b/labs/arm/idf-pod7.yaml index 58ad2e56..a8041a2d 100644 --- a/labs/arm/idf-pod7.yaml +++ b/labs/arm/idf-pod7.yaml @@ -86,3 +86,48 @@ idf: - 'e0900000.xgmac' - interfaces: *interfaces_b busaddr: *busaddr_b + reclass: + node: + - compute_params: &compute_params_a + common: + nova_cpu_pinning: &nova_cpu_pinning_common_a "2-47" + compute_hugepages_size: 2M + compute_hugepages_count: 8192 + compute_hugepages_mount: /mnt/hugepages_2M + compute_kernel_isolcpu: *nova_cpu_pinning_common_a + dpdk: + nova_cpu_pinning: "4-47" + compute_hugepages_size: 2M + compute_hugepages_count: 8192 + compute_hugepages_mount: /mnt/hugepages_2M + compute_kernel_isolcpu: *nova_cpu_pinning_common_a + 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_a + - compute_params: *compute_params_a + - compute_params: &compute_params_b + common: + nova_cpu_pinning: &nova_cpu_pinning_common_b "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_b + 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_b + 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_b |