From owner-freebsd-current@FreeBSD.ORG Tue Mar 2 05:56:29 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BBB6816A4CF for ; Tue, 2 Mar 2004 05:56:29 -0800 (PST) Received: from mailtoaster1.pipeline.ch (mailtoaster1.pipeline.ch [62.48.0.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id E192143D2F for ; Tue, 2 Mar 2004 05:56:28 -0800 (PST) (envelope-from andre@freebsd.org) Received: (qmail 37681 invoked from network); 2 Mar 2004 13:56:28 -0000 Received: from unknown (HELO freebsd.org) ([62.48.0.53]) (envelope-sender ) by mailtoaster1.pipeline.ch (qmail-ldap-1.03) with SMTP for ; 2 Mar 2004 13:56:28 -0000 Message-ID: <4044928C.AF49FD38@freebsd.org> Date: Tue, 02 Mar 2004 14:56:28 +0100 From: Andre Oppermann X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Wes Peters References: <4043B6BA.B847F081@freebsd.org> <200403011507.52238.wes@softweyr.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-net@freebsd.org cc: freebsd-current@freebsd.org Subject: Re: My planned work on networking stack X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 13:56:29 -0000 Wes Peters wrote: > > > [] automatically sizing TCP send buffers to achieve optimal performance > > over a wide range of bw*delay situations. (in progress) > > What a wonderful idea. Can't wait for the bikesheds... What bikesheds? > > [] establish a testbed for testing and qualification of TCP performance > > and optimizations over a wide range of network conditions (types, > > speeds, packet loss ratios, out of order, etc). (started) > > Be sure to coordinate with the donations officer for help in getting > equipment you may need. My plan is to do it with a couple of boxes and dummynet. The harder part is not to make the setup but to figure out what network conditions to simulate and how often they happen. If you have any traffic generators spare I'd be interested surely. ;-) > > [] move IPv4 routing to its own optimized routing table structure and > > add multi-path and policy-routing options. (planned) > > Will the table code in PF be helpful in this area? They seem to have > developed a reasonably small notation for CIDR-type address ranges and code > that does best-fit matching. Maybe. I'll evaluate the various available implementations and research in that area when I get to it. However the multi-path and policy-routing stuff will be part of the routing engine and not any of the firewalling systems. They may have an option to tag a packet with a certain policy to override the routing system. > > [] other stuff that I happen to stumble over... ;-) > > Wowsers. I can't wait to hear more. When do you expect to have a design > for the ARP stuff and TCP buffer sizing, since they are underway? The ARP stuff is pretty simple and is a hash list IP->MAC per ethernet (actually 802.1) broadcast domain. The harder part is to move all the code to one place from it's various net/* and netinet/* files. As a nice side effect we get per-MAC accounting (octets, frames) for free. TCP buffer sizing involves mainly two areas. One is good RTT measurements to be able to estimate the bw*delay product well and the other is information about memory (mbuf) usage in the networking system to do the right thing if memory gets low. -- Andre