From owner-freebsd-hackers Sat Nov 18 01:33:02 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA05565 for hackers-outgoing; Sat, 18 Nov 1995 01:33:02 -0800 Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id BAA05556 for ; Sat, 18 Nov 1995 01:32:54 -0800 Received: from corbin.Root.COM (corbin [198.145.90.50]) by Root.COM (8.6.12/8.6.5) with ESMTP id BAA01228; Sat, 18 Nov 1995 01:31:05 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.12/8.6.5) with SMTP id BAA00577; Sat, 18 Nov 1995 01:28:14 -0800 Message-Id: <199511180928.BAA00577@corbin.Root.COM> To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) cc: freebsd-hackers@freebsd.org (FreeBSD hackers), scrappy@hub.org, geoff@ginsu.com Subject: Re: Building a gateway In-reply-to: Your message of "Sat, 18 Nov 95 09:43:18 +0100." <199511180843.JAA20171@uriah.heep.sax.de> From: David Greenman Reply-To: davidg@Root.COM Date: Sat, 18 Nov 1995 01:28:13 -0800 Sender: owner-hackers@freebsd.org Precedence: bulk >As Joe Greco wrote: > >> options GATEWAY used to increase certain kernel resources as well as >> enabling IP forwarding. If this is still the case - I would say that the >> sysctl method is much less preferable. > >As you said: ``It used to...'' It doesn't do it any more, David >Greenman has been incresing these sizes unconditionally to the GATEWAY >values long before. Actually it's more complex than that now. The calculation of the buffer limit is based on a constant plus maxusers (scaled appropriately). This gives a rough approximation of connections/buffers per process and seems to be a fairly good fit. >People should expect options GATEWAY to disappear some day. Yes. It's externally controlled now and is no longer needed. -DG