diff options
author | Charalampos Kominos <Charalampos.Kominos@enea.com> | 2018-03-14 15:43:34 +0100 |
---|---|---|
committer | Charalampos Kominos <Charalampos.Kominos@enea.com> | 2018-03-15 11:29:59 +0100 |
commit | b5e9f5d1ca2ac369e03f5ca9e0bacdf292455145 (patch) | |
tree | b3c499db7116f163fd570d9ab8c39dead82cd056 /labs/arm | |
parent | a02c9ccbd8cd58104dacb048833556e209ef21d3 (diff) |
[IDF] arm-pod5: Configure hugepages and cpupinning variables for armpod5
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>
Diffstat (limited to 'labs/arm')
-rw-r--r-- | labs/arm/idf-pod5.yaml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/labs/arm/idf-pod5.yaml b/labs/arm/idf-pod5.yaml index a0c20dff..5c9df095 100644 --- a/labs/arm/idf-pod5.yaml +++ b/labs/arm/idf-pod5.yaml @@ -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 |