Re: Tuning routing table size in FreeBSD 8.0 and 7.2

2011-02-25 Thread Valentin Bud
On Thu, Feb 24, 2011 at 9:37 PM, nikitha sumi.tec...@gmail.com wrote:

 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


Hello Sumi,

 What tools do you use to perform the tests?

thanks,
v
-- 
network warrior
___
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 Damien Fleuriot
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?
 
 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


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.
___
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 Gary Gatten
Sysctl -a lists all options.  This MAY be what you want:

net.inet.ip.rtmaxcache
 - Upper limit on dynamically learned routes

http://people.freebsd.org/~hmp/utilities/satbl/sysctl-net.html


HTH

Gary
-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of nikitha
Sent: Thursday, February 24, 2011 8:01 AM
To: freebsd-questions@freebsd.org
Subject: Tuning routing table size in FreeBSD 8.0 and 7.2

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





font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'
/div
This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system.
/font

___
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 Nikos Vassiliadis

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


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