Some
I installed suricata 6.0.4 on a DELL server(R740)
It have a strange cpu core order.
lscpu numa-core bind just like this:
I have ens1f1 on numa 0 and ens5f1 on numa 1
NUMA node0 CPU(s): 0,2,4,6,8,10,12,14,16,18,20,22,24,26,28…
NUMA node1 CPU(s): 1,3,5,7,9,11,13,15,17,19,21,23,25,27,29…
some of configs:
run mode workers
interface
- interface: ens1f1
threads: 4
cluster-id: 97
cluster-type: cluster_qm
… - interface: ens5f1
threads: 4
cluster-id: 95
cluster-type: cluster_qm
cpu affinity
- worker-cpu-set:
cpu: [ “2”,“4”,“6”,“8”,“3”,“5”,“7”,“9” ]
But when I run it with args -vvvv
it display thread and core binding
I find it assign:
2 3 4 5 to ens1f1
and
6 7 8 9 to ens5f1
In most of servers that numa is like
Numa0 0-7
Numa1 8-15
It will work file
but in my server with strange cpu core id assign,it will cause half of threads running at anothor numa node. It will cause latency.
I can not change this cpu core id assign to numa because it is defined in acpi table by motherboard vendor
I see there is a bug report on 2017-2018 about this but no one give a solution.
If you need any more info just reply.
thanks