netdev
[Top] [All Lists]

Re: Route cache performance under stress

To: Florian Weimer <fw@xxxxxxxxxxxxx>
Subject: Re: Route cache performance under stress
From: Martin Josefsson <gandalf@xxxxxxxxxxxxxx>
Date: 05 Apr 2003 20:17:09 +0200
Cc: linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx, bert hubert <ahu@xxxxxxx>
In-reply-to: <8765pshpd4.fsf@deneb.enyo.de>
Organization:
References: <8765pshpd4.fsf@deneb.enyo.de>
Sender: netdev-bounce@xxxxxxxxxxx
On Sat, 2003-04-05 at 18:37, Florian Weimer wrote:

> Netfilter ip_conntrack support might have similar issues, but you
> can't use it in a uncooperative environment anyway, at least in my
> experience.  (Note that there appears to be no way to disable
> connection tracking while the code is in the kernel.)

It's correct that ip_conntrack has similar issues. There's been some
work on the hashalgorithm used but no patch has been made yet.
And yes it doesn't scale well at all (especially on SMP), I'm about to
start working on this a bit. Hopefully I can improve it somewhat.

If you've compiled ip_conntrack into your kernel there's only two ways
to disable it and both needs code-modifications :)

Install a netfilter-module that gets the packets before conntrack and
steal the packets, the downside is that you will bypass the rest of
iptables as well.

Apply a patch from patch-o-matic that adds a NOTRACK target that
instructs conntrack to not look at the packets marked by that target.

-- 
/Martin

<Prev in Thread] Current Thread [Next in Thread>
  • Re: Route cache performance under stress, Martin Josefsson <=