From owner-cvs-sys Fri Mar 3 21:14:26 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id VAA15461 for cvs-sys-outgoing; Fri, 3 Mar 1995 21:14:26 -0800 Received: from Root.COM (implode.Root.COM [198.145.90.1]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id VAA15455; Fri, 3 Mar 1995 21:14:21 -0800 Received: from corbin.Root.COM (corbin.Root.COM [198.145.90.18]) by Root.COM (8.6.8/8.6.5) with ESMTP id VAA28108; Fri, 3 Mar 1995 21:14:11 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.9/8.6.5) with SMTP id VAA00190; Fri, 3 Mar 1995 21:14:10 -0800 Message-Id: <199503040514.VAA00190@corbin.Root.COM> X-Authentication-Warning: corbin.Root.COM: Host localhost didn't use HELO protocol To: Poul-Henning Kamp cc: CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com Subject: Re: cvs commit: src/sys/net if_loop.c In-reply-to: Your message of "Fri, 03 Mar 95 21:08:07 PST." <199503040508.VAA13824@ref.tfs.com> From: David Greenman Reply-To: davidg@Root.COM Date: Fri, 03 Mar 1995 21:14:09 -0800 Sender: cvs-sys-owner@freebsd.org Precedence: bulk >> davidg 95/03/03 20:28:51 >> >> Modified: sys/net if_loop.c >> Log: >> Reduced loopback MTU to 16k to work around a miriad of problems with it >> set near or above 32k (likely caused by 16bit signed word overflow). 16k >> actually (surprizingly) has higher performance than other values I tested. > >Probably because it matches our default TCP-window, thus making it possible >to return to user-space and effectively run in parallel. An interesting thought...but I think it's much more complicated than that. Even with the MTU at 16k, there are still some anomolous things about the traffic patterns through the interface. The segment size varies from 2k to 14k, for instance - it never actually sends 16k. All of this needs to be looked at carefully; the above change was purely pragmatic. -DG