From owner-freebsd-net@FreeBSD.ORG Sat Dec 4 19:15:29 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 28BA716A4CE; Sat, 4 Dec 2004 19:15:29 +0000 (GMT) Received: from burka.carrier.kiev.ua (burka.carrier.kiev.ua [193.193.193.107]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D6D843D60; Sat, 4 Dec 2004 19:15:27 +0000 (GMT) (envelope-from netch@lucky.net) Received: from burka.carrier.kiev.ua (netch@localhost [127.0.0.1]) by burka.carrier.kiev.ua with ESMTP id iB4JF801058839; Sat, 4 Dec 2004 21:15:12 +0200 (EET) (envelope-from netch@burka.carrier.kiev.ua) Received: (from netch@localhost) by burka.carrier.kiev.ua (8.12.11/8.12.11/Submit) id iB4JF8fb058836; Sat, 4 Dec 2004 21:15:08 +0200 (EET) (envelope-from netch) Date: Sat, 4 Dec 2004 21:15:08 +0200 From: Valentin Nechayev To: Gleb Smirnoff Message-ID: <20041204191508.GA18236@lucky.net> References: <20041125140641.GA78210@cell.sick.ru> <20041126025510.GA44246@scylla.towardex.com> <20041126091316.GA84369@cell.sick.ru> <41AB3CB9.598BB2FB@freebsd.org> <20041129161529.GA4770@cell.sick.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041129161529.GA4770@cell.sick.ru> X-42: On X-Verify-Sender: Address has been verified (burka.carrier.kiev.ua) X-Antivirus: Dr.Web (R) for Mail Servers on kozlik.carrier.kiev.ua host X-Antivirus-Code: 100000 cc: James cc: Andre Oppermann cc: net@freebsd.org Subject: Re: route cacheing for gif(4) should be optional X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: netch@lucky.net List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Dec 2004 19:15:29 -0000 Hi, Mon, Nov 29, 2004 at 19:15:29, glebius wrote about "Re: route cacheing for gif(4) should be optional": A>> However there have been reasons for A>> storing the rtentry pointer in struct gif. In the old days ip_output() A>> required an rtentry pointer to be passed on, this is no longer the case. A>> And it was sort of a safe-guard to make it harder to send the gif encapsulated A>> packets back through the same gif interface. That didn't work really well A>> and as I say it should be scapped instead of rigged on somewhere else with A>> yet another obscure option. ;) > As soon as I make route cacheing optional, I'd like to make it off by default. > Let me explain: FreeBSD is stable by default, not fast. Routecacheing is not stable. > When a route flap occurs in dynamicly routed network my gif tunnels are stuck. > I'll describe in manpage, that more performance can be achieved by enabling this > route cacheing. Any objections on this default? Tracking Cisco & etc. footsteps, there is yet another variant: add cached route with aging and set default aging time very small (e.g. 1 sec). This can give preferences of caching among with satisfactory time of renewal. I think this will be best variant, but if in a case it isn't adoptable, let's caching will be disabled totally by default. -netch-