From owner-freebsd-current@FreeBSD.ORG Tue Jan 13 07:53:24 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F5A8106564A for ; Tue, 13 Jan 2009 07:53:24 +0000 (UTC) (envelope-from lastewart@swin.edu.au) Received: from lauren.room52.net (lauren.room52.net [210.50.193.198]) by mx1.freebsd.org (Postfix) with ESMTP id AAB068FC12 for ; Tue, 13 Jan 2009 07:53:23 +0000 (UTC) (envelope-from lastewart@swin.edu.au) Received: from lstewart.caia.swin.edu.au (lstewart.caia.swin.edu.au [136.186.229.95]) (authenticated bits=0) by lauren.room52.net (8.14.3/8.14.3) with ESMTP id n0D7Gxe8047758 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 13 Jan 2009 18:17:04 +1100 (EST) (envelope-from lastewart@swin.edu.au) Message-ID: <496C3FE6.2040407@swin.edu.au> Date: Tue, 13 Jan 2009 18:16:54 +1100 From: Lawrence Stewart User-Agent: Thunderbird 2.0.0.18 (X11/20081124) MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=disabled version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on lauren.room52.net X-Mailman-Approved-At: Tue, 13 Jan 2009 12:13:08 +0000 Subject: HEADS UP: imminent TCP ABC commit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 13 Jan 2009 07:53:24 -0000 Hi All, Just a quick note to let you know that I plan to commit my TCP appropriate byte counting (ABC) patch [1,2] to HEAD within the next two days. This work has been sponsored by the FreeBSD Foundation [3] as part of the "Enhancing the FreeBSD TCP Implementation" project [4]. I don't anticipate any nastiness, but let me know if you run into any issues with your TCP workloads when running with the patch. The behaviour will default to on when committed, so any new kernel built after the commit will be using ABC by default. Note that the patch changes the size of the tcpcb structure, thus you will get ABI breakages with any utilities that rely on the size of the tcpcb e.g. sockstat will error with "sockstat: struct xtcpcb size mismatch". A rebuild/install of world will obviously solve the issue. However, copying the patched tcp_var.h from /usr/src/sys/netinet to /usr/include/netinet and selectively rebuilding these utilities as they crop up should also solve the issue faster if you're impatient and familiar with the src tree and make glue. Cheers, Lawrence http://caia.swin.edu.au [1] http://people.freebsd.org/~lstewart/patches/tcp_ffcaia2008/tcp_abc_8.x.r186471.patch [2] http://people.freebsd.org/~lstewart/patches/tcp_ffcaia2008/tcp_abc_8.x.r186471.patch.readme [3] http://www.freebsdfoundation.org/ [4] http://caia.swin.edu.au/freebsd/etcp09/