ironcore-dev / dpservice

DPDK based fast Dataplane / L3 router / SDN enabler, installable on compute nodes / SmartNICs
Apache License 2.0
7 stars 1 forks source link

Fix exporter for different NUMA nodes #611

Closed PlagueCZ closed 2 weeks ago

PlagueCZ commented 1 month ago

Currently dpservice-exporter uses /eal/heap_info,0 on all nodes. Some nodes in OSC require the use of /eal/heap_info,1, so this PR uses /eal/heap_list to ask for the right (NUMA node?) number.

I am not that versed in Go, so I simply "copied" the code for interfaces, therefore this code would not work when there are multiple heap_info entries. But for our deployment it should be fine.

Connected to #606