lkml.org 
[lkml]   [2009]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: iptables very slow after commit784544739a25c30637397ace5489eeb6e15d7d49
On Fri, 10 Apr 2009 17:15:52 +0800 (SGT)
Jeff Chua <jeff.chua.linux@gmail.com> wrote:

>
>
> Adding 200 records in iptables took 6.0sec in 2.6.30-rc1 compared to
> 0.2sec in 2.6.29. I've bisected down this commit.
>
> There are a few patches on top of the original patch. When I reverted the
> original commit + changing rcu_read() to rcu_read_bh(), it speeds up the
> inserts back to .2sec again.
>
> I'm loading all the firewall rules during boot-up and this 6 secs slowness
> is really not very nice to wait for.

The performance benefit during operation is more important. The load
time is fixable. The problem is probably generic to any set of rules,
but could you post some info about your configuration (like the rule
set), and the system configuration (# of cpu's, config etc).


\
 
 \ /
  Last update: 2009-04-10 18:57    [W:0.123 / U:0.864 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site