Date: Mon, 1 Apr 2002 01:29:12 -0800 From: Luigi Rizzo <rizzo@icir.org> To: Joost Bekkers <joost@bps.jodocus.org> Cc: Peter Brezny <peter@skyrunner.net>, freebsd-net@FreeBSD.ORG Subject: Re: NATD theoretical max and tuning question Message-ID: <20020401012912.B69717@iguana.icir.org> In-Reply-To: <20020401110459.A83056@bps.jodocus.org> References: <NEBBIGLHNDFEJMMIEGOOIEDPEPAA.peter@skyrunner.net> <20020401110459.A83056@bps.jodocus.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Actually, following other reports on natd performance trashing under load and with time, I am under the impression that the library used by natd (libalias ?) might use some heavyweight data structure (such as linear lists, or hash tables which saturate too early) to lookup sessions. The bug mentioned below is only partly related -- yes it prevents natd from doing busy-waiting on an interface, but that is only part of the story. cheers luigi On Mon, Apr 01, 2002 at 11:04:59AM +0200, Joost Bekkers wrote: > On Sun, Mar 31, 2002 at 08:06:16PM -0500, Peter Brezny wrote: > > I've got a system acting as a router for about 1000 users behind various > > private networks who are currently all routed through a pII 400 with 512M > > ram. > > > > Currently all of these private networks are translated through one public > > IP. > > > > Frequently the natd process will use more than 50% of the cpu. > > > > This is due to a bug in natd which was fixed in 4.5-STABLE > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=2878659+0+archive/2002/freebsd-questions/20020324.freebsd-questions > > I personally noticed the same thing, but it stopped after I > upgraded natd > > Greetz Joost > joost@jodocus.org > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message 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?20020401012912.B69717>