summaryrefslogtreecommitdiffstats
path: root/src/filter.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2008-11-02 21:35:42 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2008-11-02 21:35:42 +0100
commit76ac8ebe5e49385585c8e29fe530ed4baef390bf (patch)
tree4d0bdca7d2f039a173152dde44818b13d485ec49 /src/filter.c
parent64ce47955778805afceb6ced58b63839763541ad (diff)
network: rework TLV-based protocol
This patch reworks the TLV-based protocol to reduce the overhead in the message building. The idea is to group some attributes that must be present in a consistent configuration. Putting them together help us to save some cycles in the message building. Now, oprofile reports ~15% of samples in the build path instead of ~25%. CPU consumption for 3000 HTTP GET requests per second (1000 concurrent with apache benchmark tool) is ~45% in my testbed, that is ~19% more consumption than with no replication at all. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/filter.c')
0 files changed, 0 insertions, 0 deletions