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.
Better handle the autofp case where one thread allocates the majority of the packets and other threads free those packets. Add a list of locally pending packets. The first packet freed goes on the pending list, then subsequent freed packets for the same Packet Pool are added to this list until it hits a fixed number of packets, then the entire list of packets is pushed onto the pool's return stack. If a freed packet is not for the pending pool, it is freed immediately to its pool's return stack, as before. For the autofp case, since there is only one Packet Pool doing all the allocation, every other thread will keep a list of pending packets for that pool. For the worker run mode, most packets are allocated and freed locally. For the case where packets are being returned to a remote pool, a pending list will be kept for one of those other threads, all others are returned as before. Which remote pool for which to keep a pending list is changed each time the pending list is returned. Since the return pending pool is cleared when it is freed, then next packet to be freed chooses the new pending pool. |
11 years ago | |
---|---|---|
benches | ||
contrib | 12 years ago | |
doc | 13 years ago | |
m4 | ||
qa | 11 years ago | |
rules | 12 years ago | |
scripts | 12 years ago | |
src | 11 years ago | |
.gitignore | 12 years ago | |
.travis.yml | 11 years ago | |
COPYING | ||
ChangeLog | 11 years ago | |
LICENSE | ||
Makefile.am | 12 years ago | |
Makefile.cvs | ||
acsite.m4 | ||
autogen.sh | 13 years ago | |
classification.config | 16 years ago | |
config.rpath | 12 years ago | |
configure.ac | 11 years ago | |
doxygen.cfg | 12 years ago | |
reference.config | 14 years ago | |
suricata.yaml.in | 11 years ago | |
threshold.config | 13 years ago |