Unable to initialize DPDK: invalid parameters for --socket-mem with multi-NUMA per socket system
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charm Helpers |
Fix Released
|
High
|
Liam Young | ||
charm-ovn-chassis |
Fix Released
|
High
|
Liam Young |
Bug Description
focal-ussuri
We passed dpdk-socket-
https:/
Then, DPDK fails to be initialized as follows. I suppose the charm put 4096 multiple times based on the number of NUMA nodes, but according to the upstream document it may expect the number of sockets instead.
https:/
This system has 4 NUMA nodes per socket by 2 sockets so 8 NUMA nodes in total across 2 sockets.
2021-07-
2021-07-
2021-07-
2021-07-
2021-07-
2021-07-
2021-07-
2021-07-
2021-07-
2021-07-
2021-07-
2021-07-
2021-07-
2021-07-
$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 43 bits physical, 48 bits virtual
CPU(s): 128
On-line CPU(s) list: 0-127
Thread(s) per core: 2
Core(s) per socket: 32
Socket(s): 2
NUMA node(s): 8
Vendor ID: AuthenticAMD
CPU family: 23
Model: 49
Model name: AMD EPYC 7542 32-Core Processor
Stepping: 0
Frequency boost: enabled
CPU MHz: 1496.985
CPU max MHz: 3406.9331
CPU min MHz: 1500.0000
BogoMIPS: 5789.55
Virtualization: AMD-V
L1d cache: 2 MiB
L1i cache: 2 MiB
L2 cache: 32 MiB
L3 cache: 256 MiB
NUMA node0 CPU(s): 0-7,64-71
NUMA node1 CPU(s): 8-15,72-79
NUMA node2 CPU(s): 16-23,80-87
NUMA node3 CPU(s): 24-31,88-95
NUMA node4 CPU(s): 32-39,96-103
NUMA node5 CPU(s): 40-47,104-111
NUMA node6 CPU(s): 48-55,112-119
NUMA node7 CPU(s): 56-63,120-127
...
description: | updated |
Changed in charm-ovn-chassis: | |
assignee: | nobody → Liam Young (gnuoy) |
Changed in charm-helpers: | |
assignee: | nobody → Liam Young (gnuoy) |
Changed in charm-helpers: | |
status: | In Progress → Fix Committed |
The only workaround we found so far is manually updating other_config as other_config: dpdk-socket- mem=4096, 4096 outside of the charm.