]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
Update max-pending-packet comments to show it is now per-thread. 1022/head 1053/head
authorKen Steele <ken@tilera.com>
Wed, 9 Jul 2014 14:53:34 +0000 (10:53 -0400)
committerKen Steele <ken@tilera.com>
Mon, 21 Jul 2014 18:48:31 +0000 (14:48 -0400)
Updated suricata.yaml and comments in the code.

src/suricata.c
suricata.yaml.in

index 1741dd48049e954765e28ae3b766a63b2ec77a3d..5ec53a4366ece6eddd5441c10f1446b8aa83ab6c 100644 (file)
@@ -187,12 +187,12 @@ volatile sig_atomic_t sigterm_count = 0;
 
 /*
  * 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
  */
 SC_ATOMIC_DECLARE(unsigned int, engine_stage);
 
-/* Max packets processed simultaniously. */
+/* Max packets processed simultaniously per thread. */
 #define DEFAULT_MAX_PENDING_PACKETS 1024
 
 /** suricata engine control flags */
index 65b7a50bf7bcd4bff6e63ccdc7f8ba2c723f5e0a..1d1d48e9ebd0d737d9c7de5057ef8f4ca606a438 100644 (file)
@@ -6,9 +6,9 @@
 # https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Suricatayaml
 
 
-# Number of packets allowed to be processed simultaneously.  Default is a
-# conservative 1024. A higher number will make sure CPU's/CPU cores will be
-# more easily kept busy, but may negatively impact caching.
+# Number of packets preallocated per thread. The default is 1024. A higher number 
+# will make sure each CPU will be more easily kept busy, but may negatively 
+# impact caching.
 #
 # 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