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
Ken Steele be448aef22 For PktPool add local pending freed packets list.
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.
12 years ago
benches Initial add of the files. 17 years ago
contrib Add option on Tile-Gx for logging for fast.log alerts over PCIe 13 years ago
doc Update docs from wiki 14 years ago
m4 Prelude plugin: add detection in configure script 17 years ago
qa Add initial travis-ci integration. 12 years ago
rules tls: check SSL3/TLS version per record 12 years ago
scripts fix regression in 'make distclean' due to commit cd305c3a 12 years ago
src For PktPool add local pending freed packets list. 12 years ago
.gitignore unittest: make check use a qa/log dir for logging 13 years ago
.travis.yml Add initial travis-ci integration. 12 years ago
COPYING Initial add of the files. 17 years ago
ChangeLog Update Changelog for 2.0.2 release 12 years ago
LICENSE import of gplv2 LICENSE 17 years ago
Makefile.am make install-full: get correct version of ET 13 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 OpenBSD 5.2 build fixes, Unit test fix. 14 years ago
classification.config Import of classification.config 17 years ago
config.rpath Add file needed for some autotools version. 13 years ago
configure.ac autotools: enable silent mode 12 years ago
doxygen.cfg doxygen: add source browser 12 years ago
reference.config Add md5 to reference.config. 15 years ago
suricata.yaml.in Remove pcapinfo output 12 years ago
threshold.config threshold: improve comments of shipped threshold.config, add links to wiki. 14 years ago