Please include the following information with your help request:
- Suricata version - 6.0.10
- Operating system and/or Linux distribution - CentOS7
- How you installed Suricata - Source
Good afternoon,
I am trying to tune our suricata nodes for performance and start ingesting on another NIC for 10GBs to load balance/collect more traffic. Total of 20Gb/s to suricata node. I’m not sure how to add another NIC into the suricata.yaml file to load balance with the current set up properly. I also want to make sure i’m utilizing the threads/pinning appropriately so improve received traffic. I have a good understanding of how to utilize suricata based on alerts but i still have a lot more to learn about the configuration and architecture of this open source tool. Any input would be greatly appreciated!
Current set up:
2x x710 10Gbs NIC eno1/eno2 are in numa_node 0
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 40
On-line CPU(s) list: 0-39
Thread(s) per core: 2
Core(s) per socket: 10
Socket(s): 2
NUMA node(s): 2
Vendor ID: GenuineIntel
CPU family: 6
Model: 85
Model name: Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz
Stepping: 4
CPU MHz: 2200.000
BogoMIPS: 4400.00
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 1024K
L3 cache: 14080K
NUMA node0 CPU(s): 0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38
NUMA node1 CPU(s): 1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39
af-packet:
- interface: eno1
- threads: 18
- cluster-id: 98
- use-mmap: yes
- tpacket-v3: yes
- ring-size: 204800
- block-size: 65536
cpu-affinity:
- management-cpu-set:
cpu: [ 0 ] # include only these CPUs in affinity settings
mode: “balanced”
prio:
default: “low”
- receive-cpu-set:
# cpu: [ 0 ] # include only these CPUs in affinity settings
- worker-cpu-set:
cpu: [ 4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38 ]
mode: “exclusive”
# Use explicitly 3 threads and don’t compute number by using
# detect-thread-ratio variable:
# threads: 3
prio:
# low: [ 0 ]
# medium: [ “1-2” ]
# high: [ 3 ]
default: “high”