mirror of https://github.com/OISF/suricata
cybersecurityidsintrusion-detection-systemintrusion-prevention-systemipsnetwork-monitornetwork-monitoringnsmsecuritysuricatathreat-hunting
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.
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 | 17 years ago | |
| doc | 15 years ago | |
| libhtp | 15 years ago | |
| m4 | 16 years ago | |
| qa | 16 years ago | |
| src | 15 years ago | |
| .gitignore | 15 years ago | |
| COPYING | 17 years ago | |
| ChangeLog | 17 years ago | |
| LICENSE | 16 years ago | |
| Makefile.am | 15 years ago | |
| Makefile.cvs | 17 years ago | |
| acsite.m4 | 17 years ago | |
| autogen.sh | 16 years ago | |
| classification.config | 16 years ago | |
| config.h.in | 16 years ago | |
| configure.in | 15 years ago | |
| depcomp | 16 years ago | |
| doxygen.cfg | 16 years ago | |
| install-sh | 16 years ago | |
| missing | 16 years ago | |
| mkinstalldirs | 16 years ago | |
| reference.config | 15 years ago | |
| suricata.yaml | 15 years ago | |