Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Feb 2011 18:41:57 +0200
From:      Nikos Vassiliadis <nvass@gmx.com>
To:        nikitha <sumi.techno@gmail.com>
Cc:        Damien Fleuriot <ml@my.gd>, freebsd-questions@freebsd.org
Subject:   Re: Tuning routing table size in FreeBSD 8.0 and 7.2
Message-ID:  <4D668A55.6060002@gmx.com>
In-Reply-To: <4D66708E.8060500@my.gd>
References:  <AANLkTinaQ0D5dv%2B0FXydpH-%2B=EVvhaN9%2B%2BANsSdS7gtG@mail.gmail.com> <4D66708E.8060500@my.gd>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2/24/2011 4:51 PM, Damien Fleuriot wrote:
> On 2/24/11 3:00 PM, nikitha wrote:
>> Hi,
>> Could you plz share the information on the maximum number of routes that can
>> be added (by default) in FREEBSD 8.0/7.2 kernel?
>> In Linux the sysctl rt_max_size is used. Is there a similar tunable
>> parameter in freeBSD?
[snip]
>
> I could not find a sysctl that matched what you're looking for.
>
> AFAIK, the routing table is limited only by the amount of RAM you can
> allocate to it.

Yes. You can use "vmstat -z | grep rtentry" to examine it.
It seems trivial to add a limit there(without having thought of
multiple routing tables and vnet).

Out of curiosity, why would you want such a limit?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D668A55.6060002>