Date: Wed, 21 Feb 2001 12:58:06 +0000 (GMT) From: Jasper Wallace <jasper@ivision.co.uk> To: Ingo Flaschberger <chaoztc@office.atnet.at> Cc: <freebsd-net@FreeBSD.ORG> Subject: Re: maximum number of routes? Message-ID: <Pine.GSO.4.30.0102211253470.4169-100000@avengers> In-Reply-To: <Pine.LNX.4.21.0102202225320.7915-100000@office.atnet.at>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 20 Feb 2001, Ingo Flaschberger wrote: > Hi > > how could i modify the amount of the maximum routes that freebsd allow? > > i have seen, that with more memory i could use more routes. > some results from me: > ram routes > 128mb 75k > 196mb 110k > 256mb 150k > > is it possible to modify the maximum ammount and does it make sense? > i would need that for some routers speaking bgp. > 120k routes with 128mb ram would be nice, if possible. > > currently, adding more routes than supportet ends with: > extern# route add 20.0.0.0/24 10.0.0.1 > route: writing to routing socket: No buffer space available > add net 20.0.0.0: gateway 10.0.0.1: routing table overflow Add this to your kernel config. file: # 1/2 RAM for the kernel - lets us have full routes. options VM_KMEM_SIZE_SCALE="(2)" See also /usr/include/machine/vmparam.h Unfortunatly freebsd's kernel memory managment stuff dosn't dynamicly resize, i'm pretty sure NetBSD's does, so you might like to take a look at that too. -- Internet Vision Internet Consultancy Tel: 020 7589 4500 60 Albert Court & Web development Fax: 020 7589 4522 Prince Consort Road vision@ivision.co.uk London SW7 2BE http://www.ivision.co.uk/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.30.0102211253470.4169-100000>