yaml: improve affinity defaults

pull/2137/head
Victor Julien 9 years ago
parent b5633b9bfd
commit 0b6171854d

@ -1292,10 +1292,10 @@ threading:
medium: [ "1-2" ] medium: [ "1-2" ]
high: [ 3 ] high: [ 3 ]
default: "medium" default: "medium"
- verdict-cpu-set: #- verdict-cpu-set:
cpu: [ 0 ] # cpu: [ 0 ]
prio: # prio:
default: "high" # default: "high"
# #
# By default Suricata creates one "detect" thread per available CPU/CPU core. # By default Suricata creates one "detect" thread per available CPU/CPU core.
# This setting allows controlling this behaviour. A ratio setting of 2 will # This setting allows controlling this behaviour. A ratio setting of 2 will
@ -1305,7 +1305,7 @@ threading:
# thread being created. Regardless of the setting at a minimum 1 detect # thread being created. Regardless of the setting at a minimum 1 detect
# thread will always be created. # thread will always be created.
# #
detect-thread-ratio: 1.5 detect-thread-ratio: 1.0
# Profiling settings. Only effective if Suricata has been built with the # Profiling settings. Only effective if Suricata has been built with the
# the --enable-profiling configure flag. # the --enable-profiling configure flag.

Loading…
Cancel
Save