[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120129.160152.1463516627658543873.davem@davemloft.net>
Date: Sun, 29 Jan 2012 16:01:52 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: greearb@...delatech.com
Cc: eric.dumazet@...il.com, simonchennj@...il.com,
netdev@...r.kernel.org
Subject: Re: increase the number of routing tables
From: Ben Greear <greearb@...delatech.com>
Date: Sat, 28 Jan 2012 18:46:01 -0800
> On 01/28/2012 06:41 PM, Eric Dumazet wrote:
>> Its is possible, but probably not scalable.
>
> I've run with a few thousand routing tables and probably 5000 or so
> rules. It seems to run OK....
>
>> You really should not have too many "ip rule" entries, since they are
>> evaluated linearly.
>
> For every packet, or maybe just until conn-track gets an entry
> for the connection?
When the routing cache is removed, using a huge number of rules is not
going to be something you want to do any more because the rule table
will be inspected on every route lookup.
--
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