[RFE] Retrieve NUMA node information during introspection
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic Inspector |
Invalid
|
Wishlist
|
Karthik S | ||
ironic-python-agent |
Fix Released
|
Wishlist
|
Jaganathan Palanisamy |
Bug Description
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.
The modified data structure shall be
{
"inventory": {
"cpu_topology": {
"numa_nodes": {
},
...
}
}
}
Example:
{
"inventory": {
"cpu_topology": {
"numa_nodes": {
},
...
}
}
}
* Siblings list for logical CPUs - Extract the siblings details from /sys/devices/
The modified data structure shall be
{
"inventory": {
"cpu_topology": {
"sibling": [
[ <first set of sibling threads>],
[ <2nd set of siblings> ],
...
],
...
}
}
}
Example:
{
"inventory": {
"cpu_topology": {
"sibling": [
[0,1],
[2,3],
[4,5],
[6,7]
],
...
}
}
}
* Numa node number for all PCI device (Network Interfaces) - Extract the numa node for the PCI devices from /sys/bus/
This change is being addressed by https:/
Changed in ironic-inspector: | |
assignee: | nobody → Karthik S (ksundara) |
description: | updated |
description: | updated |
description: | updated |
affects: | ironic-inspector → ironic-python-agent |
Changed in ironic-inspector: | |
importance: | Undecided → Wishlist |
Changed in ironic-python-agent: | |
importance: | Undecided → Wishlist |
Changed in ironic-inspector: | |
assignee: | nobody → Karthik S (ksundara) |
status: | New → In Progress |
Changed in ironic-python-agent: | |
status: | New → In Progress |
Changed in ironic-python-agent: | |
assignee: | Karthik S (ksundara) → Jaganathan Palanisamy (jaganathanp) |
Changed in ironic-python-agent: | |
assignee: | Jaganathan Palanisamy (jaganathanp) → Karthik S (ksundara) |
Changed in ironic-python-agent: | |
assignee: | Karthik S (ksundara) → Jaganathan Palanisamy (jaganathanp) |
tags: |
added: rfe-approved removed: rfe |
Hi Karthik
I think a similarity with this patch "https:/ /review. openstack. org/#/c/ 369245/"
Please take a look.