Hi, I am currently running Suricata version “7.0.0” with AF_Packet capture+ RSS in IPS mode.
i have modified few params in yaml file pinned cores to worker threads.
i see huge Tx drops which resulted in performance drops when compared to
input: 4gig traffic/16KCPS/avg.pkt_size:580bytes
suricata 6.0.3, Rx-drops:0 Tx-drops:4.9%
suricata 7.0.0, Rx-drops:0 Tx-drops:33.3%
Please find the attachment of yaml file which we used for both iterations.
Suriacta-6.0.3 logs:
^C9/8/2023 – 15:30:47 - - Signal Received. Stopping engine.
9/8/2023 – 15:30:47 - - 0 new flows, 0 established flows were timed out, 0 flows in closed state
9/8/2023 – 15:30:47 - - time elapsed 544.902s
9/8/2023 – 15:30:48 - - 1038319 flows processed
9/8/2023 – 15:30:48 - - (W#01-enp1s0f0) Kernel: Packets 12138193, dropped 0
9/8/2023 – 15:30:48 - - (W#02-enp1s0f0) Kernel: Packets 12098146, dropped 0
9/8/2023 – 15:30:48 - - (W#03-enp1s0f0) Kernel: Packets 12163974, dropped 0
9/8/2023 – 15:30:48 - - (W#04-enp1s0f0) Kernel: Packets 12229230, dropped 0
9/8/2023 – 15:30:48 - - (W#01-enp1s0f1) Kernel: Packets 9312569, dropped 0
9/8/2023 – 15:30:48 - - (W#02-enp1s0f1) Kernel: Packets 9338674, dropped 0
9/8/2023 – 15:30:48 - - (W#03-enp1s0f1) Kernel: Packets 9364308, dropped 0
9/8/2023 – 15:30:48 - - (W#04-enp1s0f1) Kernel: Packets 9423072, dropped 0
9/8/2023 – 15:30:48 - - Alerts: 0
9/8/2023 – 15:30:49 - - ippair memory usage: 414144 bytes, maximum: 16777216
9/8/2023 – 15:30:49 - - host memory usage: 398144 bytes, maximum: 33554432
9/8/2023 – 15:30:50 - - cleaning up signature grouping structure… complete
9/8/2023 – 15:30:50 - - Stats for ‘enp1s0f0’: pkts: 48629543, drop: 0 (0.00%), invalid chksum: 0
9/8/2023 – 15:30:50 - - Stats for ‘enp1s0f1’: pkts: 37438623, drop: 0 (0.00%), invalid chksum: 0
9/8/2023 – 15:30:50 - - Cleaning up Hyperscan global scratch
9/8/2023 – 15:30:50 - - Clearing Hyperscan database cache
no kernel drops or memcap issues logged in stats file
Suricata-7.0.0 logs:
^CNotice: suricata: Signal Received. Stopping engine. [SuricataMainLoop:suricata.c:2825]
Info: suricata: time elapsed 529.902s [SCPrintElapsedTime:suricata.c:1173]
Perf: flow-manager: 1853950 flows processed [FlowRecycler:flow-manager.c:1131]
Perf: af-packet: enp1s0f0: (W#01-enp1s0f0) kernel: Packets 12138193, dropped 0 [ReceiveAFPThreadExitStats:source-af-packet.c:2626]
Perf: af-packet: enp1s0f0: (W#02-enp1s0f0) kernel: Packets 12098146, dropped 0 [ReceiveAFPThreadExitStats:source-af-packet.c:2626]
Perf: af-packet: enp1s0f0: (W#03-enp1s0f0) kernel: Packets 12163965, dropped 0 [ReceiveAFPThreadExitStats:source-af-packet.c:2626]
Perf: af-packet: enp1s0f0: (W#04-enp1s0f0) kernel: Packets 12229230, dropped 0 [ReceiveAFPThreadExitStats:source-af-packet.c:2626]
Perf: af-packet: enp1s0f1: (W#01-enp1s0f1) kernel: Packets 9312569, dropped 0 [ReceiveAFPThreadExitStats:source-af-packet.c:2626]
Perf: af-packet: enp1s0f1: (W#02-enp1s0f1) kernel: Packets 9338670, dropped 0 [ReceiveAFPThreadExitStats:source-af-packet.c:2626]
Perf: af-packet: enp1s0f1: (W#03-enp1s0f1) kernel: Packets 9364304, dropped 0 [ReceiveAFPThreadExitStats:source-af-packet.c:2626]
Perf: af-packet: enp1s0f1: (W#04-enp1s0f1) kernel: Packets 9423072, dropped 0 [ReceiveAFPThreadExitStats:source-af-packet.c:2626]
Info: counters: Alerts: 0 [StatsLogSummary:counters.c:871]
Perf: ippair: ippair memory usage: 414144 bytes, maximum: 16777216 [IPPairPrintStats:ippair.c:296]
Perf: host: host memory usage: 398144 bytes, maximum: 33554432 [HostPrintStats:host.c:299]
Notice: device: enp1s0f0: packets: 48629534, drops: 0 (0.00%), invalid chksum: 0 [LiveDeviceListClean:util-device.c:321]
Notice: device: enp1s0f1: packets: 37438615, drops: 0 (0.00%), invalid chksum: 0 [LiveDeviceListClean:util-device.c:321]
no kernel drops or memcap issues logged in stats file
Please let me know if i am missing any inputs to suricata engine.
suricata_af_ft_v1.yaml (79.0 KB)