[Top] [All Lists]

Re: [PATCH] Reduce netfilter memory use on MP systems

To: Martin Josefsson <gandalf@xxxxxxxxxxxxxx>
Subject: Re: [PATCH] Reduce netfilter memory use on MP systems
From: Andi Kleen <ak@xxxxxxx>
Date: Fri, 4 Feb 2005 18:51:34 +0100
Cc: Patrick McHardy <kaber@xxxxxxxxx>, Andi Kleen <ak@xxxxxxx>, netdev@xxxxxxxxxxx, Netfilter-devel <netfilter-devel@xxxxxxxxxxxxxxxxxxx>
In-reply-to: <1107538482.1111.6.camel@xxxxxxxxxxxxxx>
References: <20050204140900.GD2518@xxxxxxxxxxxxx> <1107538482.1111.6.camel@xxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
> > And in general it saves a lot of memory.
> Patrick, could you apply and submit this patch to Davem? Or if Davem
> applies it himself. It's pretty obvious and would help small SMP
> machines with distribution kernels and/or strange admins.

The main motivation is actually not to save the memory (that's just
a useful side effect), but increase the max limit on 64bit systems.
Fixing it fully will require fixing vmalloc of course, but it already
help. Without it you can't get more than ~3800 rules
on a 64bit system with NR_CPUS==128 and 128 byte cache lines.


<Prev in Thread] Current Thread [Next in Thread>