From owner-freebsd-questions@FreeBSD.ORG  Thu Feb 24 19:37:41 2011
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
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 23ECF106564A
	for <freebsd-questions@freebsd.org>;
	Thu, 24 Feb 2011 19:37:41 +0000 (UTC)
	(envelope-from sumi.techno@gmail.com)
Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com
	[209.85.210.182])
	by mx1.freebsd.org (Postfix) with ESMTP id DC0D78FC08
	for <freebsd-questions@freebsd.org>;
	Thu, 24 Feb 2011 19:37:40 +0000 (UTC)
Received: by iyj12 with SMTP id 12so538271iyj.13
	for <freebsd-questions@freebsd.org>;
	Thu, 24 Feb 2011 11:37:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=I5W9OCDqje+TBSZ55iwnwVs15UQoDmu9pKQ4/XOP8hc=;
	b=f8hPndrwdrZCnvI7aHQ7s7AuNtjS9/7xczcvPO+3/m+/gYVdTJmaBawZZtn2W5LhyL
	dwkioCfoKMyGfchoR6yNFKaQ05iscZio35zTraiOlhdTYMvVefPuaw2zCo8G75zxw6oz
	7Q9mSoZ4Ued8MoInASW2agkGi/q8DW1qOKIwc=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	b=ipYDfHzBXHdpb2gCkMq5uTGeaGaKE2R5Gw3LwcvqimpUosR6PNNi3VIXCnYsQ4Og/1
	9zB4JenxN0lmCPk48+CKfZq4ayXw2afXXQHf7cFDHznnadBnIiPzkWW2UhbnzIn7P7b3
	ECLgUVVV8Q0fc7yLoWo0nP8Lg/S3sFqpIX/I4=
MIME-Version: 1.0
Received: by 10.231.36.12 with SMTP id r12mr2023186ibd.69.1298576260050; Thu,
	24 Feb 2011 11:37:40 -0800 (PST)
Received: by 10.231.160.131 with HTTP; Thu, 24 Feb 2011 11:37:39 -0800 (PST)
In-Reply-To: <4D668A55.6060002@gmx.com>
References: <AANLkTinaQ0D5dv+0FXydpH-+=EVvhaN9++ANsSdS7gtG@mail.gmail.com>
	<4D66708E.8060500@my.gd> <4D668A55.6060002@gmx.com>
Date: Fri, 25 Feb 2011 01:07:39 +0530
Message-ID: <AANLkTimcBc1CYZD6da1Tshhdc8a7xs=6Bg2MHWxpR=hr@mail.gmail.com>
From: nikitha <sumi.techno@gmail.com>
To: Nikos Vassiliadis <nvass@gmx.com>
Content-Type: text/plain; charset=ISO-8859-1
X-Content-Filtered-By: Mailman/MimeDel 2.1.5
Cc: Damien Fleuriot <ml@my.gd>, 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 <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Feb 2011 19:37:41 -0000

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 <nvass@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?
>
>