were you able to test Suricata with e.g. af-packet and verify that you don’t loose any packet with that capture interface. If not, would you be please able to test that?
Your suricata.yaml looks relatively good although I would try to use a more standard number of RX/TX descriptors (exponent of 2) (e.g. 4096/8192). The size of mempool (cache) size should be good. Also, I would locate all Suricata cores on one NUMA node, meaning place also management core on the same NUMA node as workers.
Can you please tell me how much bandwidth the dperf generates? I haven’t used dperf and cannot seem to easily derive that from the config. From the perf top it does not seem like much but it would certainly help me to make follow up decisions.
i found that the drop rate depends on the cps, if the cpsis large, then the drop rate is large, if the cps is small , then the drop rate can be reduced to 0.
so what is the suggested script of trex or dperf to test if the system reach up 10G capacity
sorry for the late reply.
That’s a good point, connections per second do make a great impact on the Suricata performance.
About the suggested trex script - I am sorry but I am not aware of any script that would rate Suricata setup to e.g. 10G. Traffic on networks can be vastly different and that’s why manual tuning on individual networks is usually recommended.