[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100809174856.GS30010@kvack.org>
Date: Mon, 9 Aug 2010 13:48:56 -0400
From: Benjamin LaHaise <bcrl@...et.ca>
To: Ben Greear <greearb@...delatech.com>
Cc: "Eric W. Biederman" <ebiederm@...ssion.com>,
Eric Dumazet <eric.dumazet@...il.com>,
Octavian Purdila <opurdila@...acom.com>,
netdev@...r.kernel.org, Cosmin Ratiu <cratiu@...acom.com>
Subject: Re: [PATCH] net: allow netdev_wait_allrefs() to run faster
On Mon, Aug 09, 2010 at 10:44:14AM -0700, Ben Greear wrote:
> We also have a few rules per interface, and notice that it takes around 10ms
> per rule when we are removing them, even when using batching in 'ip':
...
> Patrick thought had an idea, but I don't think he had time to
> look at it further:
>
> "Its probably the synchronize_rcu() in fib_nl_delrule() and
> the route flushing happening after rule removal."
Yes, that would be a problem, but the issue is deeper than that -- if I'm
not mistaken it's on the packet processing path that iptables doesn't scale
for 100k interfaces with 1 rule per interface. It's been a while since I
ran the tests, but I don't think it's changed much.
-ben
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists