From: Roberto Nibali <ratz@tac.ch>
To: mbellion@hipac.org
Cc: Emmanuel Fleury <fleury@cs.auc.dk>,
Netfilter-devel <netfilter-devel@lists.netfilter.org>
Subject: Re: [NF-HIPAC] Performance test results available
Date: Tue, 01 Oct 2002 11:08:24 +0200 [thread overview]
Message-ID: <3D996608.5060902@tac.ch> (raw)
In-Reply-To: 200209262117.20361.mbellion@hipac.org
Hello,
>>1) How does behave the CPU load during your test ?
>>As you are using very powerful machines (which is not often the case in
>>reality for firewalls and router), I was really wandering how the CPU
>>power can affect your method.
It is certainly often the case in daily business. But concerning CPU load I did
some testing this weekend and I will continue testing. Results are phantastic so
far. Almost no performance issues.
> Sorry, we don't have information about that available. We will have to do
> additional tests with less powerfull machines to examine that.
Yes, do that.
>>2) How much space was used to store each of the rulessets ?
cat /proc/slabinfo
It's 64 bytes per rule, plus an additional 64 when inserting the first ~1000
slab objects, depending on the tree balance.
>>Your representation seems to be compact, but I was wandering how ?
>>Maybe a comparison with the size of the iptables rulessets could
>>be relevant.
I've done it and it is amazing. A short overview gave me following rough outline
with a PIII 500MHz 512KB L2, kernel 2.4.20pre8:
raw TCP (MTU sized packets) throughput : 88.5 Mbit/s
10000 non-matching rules before the matching one (iptables): 3.4 Mbit/s
10000 non-matching rules before the matching one (nf-hipac): 85.2 Mbit/s
> The memory usage of our algorithm isn't that much dependent on the number of
> rules. It's much more dependent on the structure of the ruleset and the type
> of the used rules. It is e.g. possible that a ruleset with 100 rules uses
> more memory than a ruleset with 10.000 rules. There are case where nf-hipac
> uses less memory than iptables and there are case where nf-hipac consumes
> really a huge amount of memory.
Memory is not an issue nowadays :)
And you can always check /proc/net/nf-hipac
> It's not possible to easily describe the memory usage of nf-hipac. It depends
> on a lot of factors and interactions of different rule types.
> Our algorithm is designed to have an acceptable memory usage for realistic
> rulesets. In the tests we made we didn't use realistic rulesets, but
> completely synthetic ones in order to simultate theoretical worst case
> performance of the algorithm.
For some people 300 rules are realistic, for our company 3000+ rules are realistic.
> We haven't wrote down memory usage during the tests, so we don't have the
> numbers available. But as already said, the rulesets were completely
> syntetic, so the numbers probably don't say much about the algorithm anyway.
> I only remember that memory usage was pretty huge with that synthetic
> rulesets.
I will conduct further test this coming weekend. An thursday I will present some
result at the linuxday.lu expo in Luxembourg.
Best regards,
Roberto Nibali, ratz
--
echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | dc
next prev parent reply other threads:[~2002-10-01 9:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-25 22:03 [NF-HIPAC] Performance test results available nf
2002-09-26 7:48 ` Emmanuel Fleury
2002-09-26 19:17 ` mbellion
2002-10-01 9:08 ` Roberto Nibali [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-10-24 23:26 netfilter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D996608.5060902@tac.ch \
--to=ratz@tac.ch \
--cc=fleury@cs.auc.dk \
--cc=mbellion@hipac.org \
--cc=netfilter-devel@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.