Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine developed by the OISF and the Suricata community.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Eric Leblond 789d46cc3c Add per-cpu prio handling
This patch updates affinity setting to add a support for per cpu
priority setting. In exclusive mode a thread is dedicated to a CPU.
This patch adds the ability to set the thread prio for all threads
of a family running on a given CPU.

With this patch we can write
    - detect_cpu_set:
        cpu: [ "all" ]
        mode: "exclusive" # run detect threads in these cpus
        low_prio: [ 0 ]
        medium_prio: [ "1-2" ]
        high_prio: [ 3 ]
With this configuration, detect threads assigned to cpu 0 will
have a low priority. Detect threads on cpus 1 and 2 will have
prio medium...

The previous configuration is equivalent to:
    - detect_cpu_set:
        cpu: [ "all" ]
        mode: "exclusive" # run detect threads in these cpus
        low_prio: [ 0 ]
        high_prio: [ 3 ]
        prio: "medium"
because the prio value is used a default.

Signed-off-by: Eric Leblond <eric@regit.org>
15 years ago
benches Initial add of the files. 17 years ago
doc Doc update for EPEL install link 15 years ago
libhtp Apply revision 233 and 234 from libhtp to improve memory handling when Suricata runs out of memory. 15 years ago
m4 Prelude plugin: add detection in configure script 16 years ago
qa small operator fixes to qa script 16 years ago
src Add per-cpu prio handling 15 years ago
.gitignore Import .gitignore file. 15 years ago
COPYING Initial add of the files. 17 years ago
ChangeLog Initial add of the files. 17 years ago
LICENSE import of gplv2 LICENSE 16 years ago
Makefile.am Add missing 'reference' to reference.config to Makefile.am. 15 years ago
Makefile.cvs Initial add of the files. 17 years ago
acsite.m4 Added C99 defs/macros to acsite.m4 for CentOS 17 years ago
autogen.sh Add initial support for reading packets from a DAG card, we only support reading from a single stream at this time. 16 years ago
classification.config Import of classification.config 16 years ago
config.h.in Libcap-ng support by Gurvinder Singh and myself. Basic support for per thread caps is added, but not activated as it doesn't seem to work yet. Work around for incompatibility between libnet 1.1 and libcap-ng added. 16 years ago
configure.in Use a different way of getting a short git rev that is compatible to older git versions. 15 years ago
depcomp Update autojunk.sh + build update. 16 years ago
doxygen.cfg more project name updates 16 years ago
install-sh Update autojunk.sh + build update. 16 years ago
missing Update autojunk.sh + build update. 16 years ago
mkinstalldirs Update autojunk.sh + build update. 16 years ago
reference.config Add the ET reference.config file as a default 15 years ago
suricata.yaml Add per-cpu prio handling 15 years ago