From owner-freebsd-net Tue Nov 28 4:33:12 2000 Delivered-To: freebsd-net@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id AE4CE37B402 for ; Tue, 28 Nov 2000 04:32:59 -0800 (PST) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.0/8.11.0) id eASCWWZ29345; Tue, 28 Nov 2000 14:32:32 +0200 (EET) (envelope-from ru) Date: Tue, 28 Nov 2000 14:32:31 +0200 From: Ruslan Ermilov To: geoff buckingham Cc: jsmith_118@hotmail.com, tim@filmgroup.co.uk, freebsd-net@FreeBSD.ORG Subject: Re: Fastfowarding (ip_flow.c) Message-ID: <20001128143231.B29061@sunbay.com> Mail-Followup-To: geoff buckingham , jsmith_118@hotmail.com, tim@filmgroup.co.uk, freebsd-net@FreeBSD.ORG References: <20001128120352.H83281@geoffb.films.redbus.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001128120352.H83281@geoffb.films.redbus.co.uk>; from geoff@filmgroup.co.uk on Tue, Nov 28, 2000 at 12:03:52PM +0000 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Nov 28, 2000 at 12:03:52PM +0000, geoff buckingham wrote: > > Did you ever resolve this? We may be seeing a similar problem, or it > could be something else entirely :-) > > > > We're using ip_fastfowarding, on a system routing 20k-30k packets per > second between two intel pro/100+ cards. When we enable it, it causes > strange system behaviour; System gets sluggish, pauses from time > to time. It may be because IPFLOW_MAX is set to 256. We attempted > to change it to 8192, but the system halts immediately after > enabling fastforward. > > Can anyone advise how we can properly adjust varables in ip_flow.c? > (IPFLOW_MAX, IPFLOW_HASHBITS, IPFLOW_HASHSIZE, IPFLOW_TIMER, etc). > > (We're using FreeBSD 3.4-STABLE, running BGP4 with 72,000 routes in > kernel). > This code was obtained from NetBSD, and they have so far improved it a bit. Look at what they did. This is on my TODO list but too deep in the stack... Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message