Tuning routing table size in FreeBSD 8.0 and 7.2

2011-02-24 Thread nikitha
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?

Your earliest reply in this regard is much appreciated.

Thanks for any inputs..

-Sumi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Tuning routing table size in FreeBSD 8.0 and 7.2

2011-02-24 Thread nikitha
Thank you all, for your timely reply..
To answer Niko's question: Just i'm doing some performance/stress testing of
a freebsd router.. :-)

-Sumi

On Thu, Feb 24, 2011 at 10:11 PM, Nikos Vassiliadis nv...@gmx.com wrote:

 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?


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org