Comment 0 for bug 1635253

Revision history for this message
Karthik S (ksundara) wrote :

In order to obtain better performance in using DPDK, node has to be configured by considering the numa node information. DPDK PMD should be associated with logical CPUs from the specific numa node, where the DPDK interface is associated. Also, in case of hyper threaded nodes, providing the siblings of a core will be useful in deciding the logical CPUs list for PMD.

For achieving this configuration, we already have handful of information in the introspected data. Additionally with below set of information, we can make better decisions in configuring the DPDK parameters of the nodes:

* List of logical CPU numbers associated with the numa node - Today during the introspection, most of the data provided by “lscpu” is logged, but the NUMA node and CPU list is not added.

* Siblings List for logical CPUs - Extract the siblings details from /sys/devices/system/cpu/cpu<n>/topology/thread_siblings_list for all logical CPUs

* Numa node number for all PCI device (Network Interfaces) - Extract the numa node for the PCI devices from /sys/bus/pci/devices/<PCI address>/numa_node