From: Luigi Rizzo <rizzo@iet.unipi.it>
To: Jesper Dangaard Brouer <brouer@redhat.com>
Cc: Jan Engelhardt <jengelh@inai.de>,
Julien Vehent <julien@linuxwall.info>,
netfilter <netfilter@vger.kernel.org>
Subject: Re: Using Netfilter with high bandwidth
Date: Thu, 6 Sep 2012 20:29:04 +0200 [thread overview]
Message-ID: <20120906182904.GA29642@onelab2.iet.unipi.it> (raw)
In-Reply-To: <1346658980.3069.584.camel@localhost>
On Mon, Sep 03, 2012 at 09:56:20AM +0200, Jesper Dangaard Brouer wrote:
> On Sat, 2012-09-01 at 00:39 +0200, Jan Engelhardt wrote:
> > On Friday 2012-08-31 21:38, Julien Vehent wrote:
...
> > > * How much traffic can we expect to route to a decently configured Firewall ?
> > > Can we target 10GBPS with good NICs/CPUs and proper kernel tuning, or is that
> > > completely out of range ?
>
> I did a lot of 10Gbit/s routing testing back in 2009:
> http://vger.kernel.org/netconf2009_slides/LinuxCon2009_JesperDangaardBrouer_final.pdf
>
> Which showed that Intels Nehalem microarchitecture, was capable of doing
> 10Gbit bi-directional routing on Linux. Combined with multiqueue NICs,
> where the Intel 10G NIC were the winning NIC. (Disclaimer, this testing
> were without iptables rules)
>
Jesper's report is extremely interesting but covers routing.
For firewalls, it might be interesting to have a look at the
netmap+ipfw integration
http://info.iet.unipi.it/~luigi/dummynet/#8696
which i recently completed and runs on linux as well (uses a kernel
module for network I/O, and a userspace versions of ipfw and dummynet
for the firewalling, scheduling, shaping).
I measured over 6 million packets per second (Mpps) with simple
rulesets, and over 2.2 Mpps through dummynet pipes.
This is with 1 core doing the processing.
The links from there should bring you to the other relevant
pieces, but just in case
http://info.iet.unipi.it/~luigi/netmap
is the netmap API, drivers etc
http://info.iet.unipi.it/~luigi/vale
describes the VALE soft switches, useful for testing
http://info.iet.unipi.it/~luigi/dummynet
features of dummynet and ipfw
cheers
luigi
next prev parent reply other threads:[~2012-09-06 18:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-31 19:38 Using Netfilter with high bandwidth Julien Vehent
2012-08-31 22:39 ` Jan Engelhardt
2012-09-03 7:56 ` Jesper Dangaard Brouer
2012-09-06 17:56 ` Julien Vehent
2012-09-06 18:42 ` Jan Engelhardt
2012-09-06 18:29 ` Luigi Rizzo [this message]
2012-09-25 11:30 ` Jan Engelhardt
2012-09-06 19:16 ` Marco Padovan
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=20120906182904.GA29642@onelab2.iet.unipi.it \
--to=rizzo@iet.unipi.it \
--cc=brouer@redhat.com \
--cc=jengelh@inai.de \
--cc=julien@linuxwall.info \
--cc=netfilter@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).