lisa
lisa copied to clipboard
DPDK Memory Request fixes
- add get_numa_node_count to fetch how many numa nodes are present in Lscpu
- add Free tool memory check and warnings for DPDK tests when allocating hugepages
- allocate memory per-numa node when multiple are present
Noticed an issue with cores when NIC is assigned to a different numa node, working on a fix
During my testing, I always see /sys/class/net/*/device/numa_node return 0, I didn't see any regression issues bring in by this change. The logic is too complex to read, if you can add more comments in code, that would be helpful.