All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: Simon Chen <simonchennj@gmail.com>
Cc: Eric Dumazet <eric.dumazet@gmail.com>, netdev@vger.kernel.org
Subject: Re: increase the number of routing tables
Date: Sun, 29 Jan 2012 11:26:31 -0800	[thread overview]
Message-ID: <4F259D67.3070603@candelatech.com> (raw)
In-Reply-To: <CANj2EbdFc33ciZ02ZCF7=3sY1XTbCLrdfu4Mp_vLp4N94xu5Cw@mail.gmail.com>

On 01/28/2012 08:20 PM, Simon Chen wrote:
> Thanks...
>
> Here says 252 routing tables top... maybe that's too old:
> http://linux-ip.net/html/routing-tables.html
>
> I wonder if we can use a trie-tree for "ip rule" - linear evaluation
> does not sound too good. But I'll be using a ton of iptables rules as
> well, and I believe those are linear evaluation too :-(

At least some rules apply only to packets entering certain
interfaces.  It seems we could have per-interface rule collections
in those cases so that only a few rules would be searched each time.

What type of rules are you planning to use?

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

  reply	other threads:[~2012-01-29 19:26 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-29  2:20 increase the number of routing tables Simon Chen
2012-01-29  2:23 ` Simon Chen
2012-01-29 11:50   ` Jan Engelhardt
2012-01-29 23:24     ` Ed W
2012-01-30  0:31       ` Stephen Hemminger
2012-01-30  2:02         ` Jan Engelhardt
2012-01-30 16:14           ` Stephen Hemminger
2012-01-30 18:57             ` Jan Engelhardt
2012-01-30 19:21               ` Stephen Hemminger
2012-01-29  2:41 ` Eric Dumazet
2012-01-29  2:46   ` Ben Greear
2012-01-29  4:20     ` Simon Chen
2012-01-29 19:26       ` Ben Greear [this message]
2012-01-31  3:06         ` Simon Chen
2012-01-29 21:02       ` David Miller
2012-01-29 21:01     ` David Miller
2012-01-30 17:26       ` Ben Greear
2012-01-30 17:36         ` David Miller
2012-01-30 12:25   ` Thomas Graf
2012-01-30 12:44     ` Eric Dumazet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F259D67.3070603@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=eric.dumazet@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=simonchennj@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.