From owner-freebsd-net Fri May 1 13:51:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA19609 for freebsd-net-outgoing; Fri, 1 May 1998 13:51:08 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA19579 for ; Fri, 1 May 1998 13:50:45 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.8.8/8.8.5) with ESMTP id MAA00700; Fri, 1 May 1998 12:45:36 -0700 (PDT) Message-Id: <199805011945.MAA00700@dingo.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Garrett Wollman cc: Mike Smith , freebsd-net@FreeBSD.ORG Subject: Re: Fwd: NetBSD network code improvements In-reply-to: Your message of "Fri, 01 May 1998 16:43:38 EDT." <199805012043.QAA09515@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 01 May 1998 12:45:35 -0700 From: Mike Smith Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > < said: > > > I'm not sure that making it optional would be taking best advantage of > > it. If it's a standard performance-enhancing feature, we'd be best off > > adopting it as such, in line with our out-of-the-box philosophy, no? > > The code which will give the best performance on a router is not > necessarily the code which will give the best performance on a host. > Ergo, we should optimize for the common case. Given that there is no "common case", but rather a set of cases weighted by "commonness", we're talking about a tradeoff, not a black/ white decision. If the code offers a pessimisation in all but the routing case, sure. But if it's as simple as switching function vectors based on the ip forwarding sysctl, the human factor issues should not be neglected. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message