Update max-pending-packet comments to show it is now per-thread.

Updated suricata.yaml and comments in the code.
pull/1053/head
Ken Steele 12 years ago
parent 28ccea51d3
commit 0dd16461cf

@ -187,12 +187,12 @@ volatile sig_atomic_t sigterm_count = 0;
/* /*
* Flag to indicate if the engine is at the initialization * Flag to indicate if the engine is at the initialization
* or already processing packets. 2 stages: SURICATA_INIT, * or already processing packets. 3 stages: SURICATA_INIT,
* SURICATA_RUNTIME and SURICATA_FINALIZE * SURICATA_RUNTIME and SURICATA_FINALIZE
*/ */
SC_ATOMIC_DECLARE(unsigned int, engine_stage); SC_ATOMIC_DECLARE(unsigned int, engine_stage);
/* Max packets processed simultaniously. */ /* Max packets processed simultaniously per thread. */
#define DEFAULT_MAX_PENDING_PACKETS 1024 #define DEFAULT_MAX_PENDING_PACKETS 1024
/** suricata engine control flags */ /** suricata engine control flags */

@ -6,9 +6,9 @@
# https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Suricatayaml # https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Suricatayaml
# Number of packets allowed to be processed simultaneously. Default is a # Number of packets preallocated per thread. The default is 1024. A higher number
# conservative 1024. A higher number will make sure CPU's/CPU cores will be # will make sure each CPU will be more easily kept busy, but may negatively
# more easily kept busy, but may negatively impact caching. # impact caching.
# #
# If you are using the CUDA pattern matcher (mpm-algo: ac-cuda), different rules # If you are using the CUDA pattern matcher (mpm-algo: ac-cuda), different rules
# apply. In that case try something like 60000 or more. This is because the CUDA # apply. In that case try something like 60000 or more. This is because the CUDA

Loading…
Cancel
Save