From: Jakub Wartak <vnulllists@pcnet.com.pl>
To: netfilter@lists.netfilter.org
Subject: Re: system time going up with many rules updates
Date: Thu, 26 Jan 2006 11:00:18 +0100 [thread overview]
Message-ID: <200601261100.18485.vnulllists@pcnet.com.pl> (raw)
In-Reply-To: <1138265165.10432.163.camel@sehe-c4.berlin.teles.de>
Dnia czwartek, 26 stycznia 2006 09:46, Sebastian Heidl napisa³:
> Hello List,
>
> I have some moderately busy (in terms of traffic) firewalls that are
> spending quite a lot CPU time in %system (> 70%) when there are a lot of
> updates to the netfilter rules.
> My question is: How can I lower the system time to enable the machines
> to handle more traffic ? Specifically, would nf-hipac or other netfilter
> projects help here ?
>
> These are 2.8GHz Xeon Machines with 512 MB RAM and GbE interfaces.
> During the "high-system-time period" they are forwarding about 30 Mbit/s
> traffic.
>
> The netfilter chains structure is as follows (only FORWARD is relevant):
>
> Chain FORWARD (policy DROP)
> *** publicly available services ***
> *** jump to chain with authenticated users ***
> *** services for authenticated users ***
>
> The last rule in the auth-chain is a REJECT so only authenticated users
> can access the private services. When a user logs in successfully a rule
> is added to the auth-chain, when he logs out the rule is deleted.
>
> At the mentioned high-system-time periods there are about 10 updates
> (add/delete) to the auth-chain per second.
>
> I'm thankful for any advice.
> _sh_
You could try ipsets, in my production systems they are rock solid stable.
Uptimes over 60 days are no problem ( except for power outages ). You don't
have to modify iptables rules just ipsets which far more effective. I'm
pushing over 1200 clients on P4 3GHz ( about 25-30 mbps , 50% cpu load, but
this machine also is running netflow probe... network cards: pure e100, every
client gets HFSC queue with SFQ qdisc, IMQ is also helping a little bit to
get VOIP prio. over P2P - to detect p2p i use ipp2p ). I heard even that
someone is pushing much more than that on dual Opterons ( 2 x 242 i suppose )
--
Jakub Wartak
-vnull
FreeBSD/OpenBSD/Linux/Solaris/Network Administrator
http://vnull.pcnet.com.pl/
next prev parent reply other threads:[~2006-01-26 10:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-26 8:46 system time going up with many rules updates Sebastian Heidl
2006-01-26 10:00 ` Jakub Wartak [this message]
2006-01-26 11:33 ` Sebastian Heidl
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=200601261100.18485.vnulllists@pcnet.com.pl \
--to=vnulllists@pcnet.com.pl \
--cc=netfilter@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.