From owner-freebsd-questions@FreeBSD.ORG Thu Feb 24 16:42:09 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92289106566B for ; Thu, 24 Feb 2011 16:42:09 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mailout-eu.gmx.com (mailout-eu.gmx.com [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id DBC0F8FC13 for ; Thu, 24 Feb 2011 16:42:08 +0000 (UTC) Received: (qmail invoked by alias); 24 Feb 2011 16:42:07 -0000 Received: from adsl-248.91.140.49.tellas.gr (EHLO [192.168.73.192]) [91.140.49.248] by mail.gmx.com (mp-eu004) with SMTP; 24 Feb 2011 17:42:07 +0100 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX1+EFsF0CsGEvkan1qGrVdhQuOSVBtXwNiSiqzL5IB k0okgu4AkmSkbB Message-ID: <4D668A55.6060002@gmx.com> Date: Thu, 24 Feb 2011 18:41:57 +0200 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: nikitha References: <4D66708E.8060500@my.gd> In-Reply-To: <4D66708E.8060500@my.gd> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: Damien Fleuriot , freebsd-questions@freebsd.org Subject: Re: Tuning routing table size in FreeBSD 8.0 and 7.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 16:42:09 -0000 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?