From owner-freebsd-current@FreeBSD.ORG Thu Mar 1 20:53:44 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BCFCD16A400; Thu, 1 Mar 2007 20:53:44 +0000 (UTC) (envelope-from andy@siliconlandmark.com) Received: from lexi.siliconlandmark.com (lexi.siliconlandmark.com [209.69.98.4]) by mx1.freebsd.org (Postfix) with ESMTP id 6EB0A13C4B8; Thu, 1 Mar 2007 20:53:44 +0000 (UTC) (envelope-from andy@siliconlandmark.com) Received: from [10.7.6.254] ([63.76.235.163]) by lexi.siliconlandmark.com (8.13.8/8.13.3) with ESMTP id l21KrI5S049905; Thu, 1 Mar 2007 15:53:18 -0500 (EST) (envelope-from andy@siliconlandmark.com) In-Reply-To: <45E7020D.2000605@freebsd.org> References: <45E6E2E8.5060408@freebsd.org> <17894.61337.772803.325091@grasshopper.cs.duke.edu> <45E7020D.2000605@freebsd.org> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Andre Guibert de Bruet Date: Thu, 1 Mar 2007 15:53:13 -0500 To: Andre Oppermann X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: ClamAV 0.88.7/2690/Thu Mar 1 06:11:27 2007 on lexi.siliconlandmark.com X-Virus-Status: Clean X-Information: Please contact the ISP for more information X-SL-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-SL-SpamCheck: not spam, SpamAssassin (not cached, score=-2.008, required 6, autolearn=not spam, AWL 0.59, BAYES_00 -2.60, SPF_PASS -0.00) X-MailScanner-From: andy@siliconlandmark.com Cc: freebsd-net@freebsd.org, freebsd-current@freebsd.org, rwatson@freebsd.org, Andrew Gallatin , kmacy@freebsd.org Subject: Re: Large TCP send socket buffer optimizations 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: Thu, 01 Mar 2007 20:53:44 -0000 On Mar 1, 2007, at 11:40 AM, Andre Oppermann wrote: > Andrew Gallatin wrote: >> Andre Oppermann writes: >> > This patch solves the problem by maintaining an offset pointer >> in the socket >> > buffer to give tcp_output() the closest mbuf right away >> avoiding the traversal >> > from the beginning. >> > > With this patch we should be able to compete nicely for the >> Internet land >> > speed record again. >> Great news. I will test soon. >> Have you found the bug which makes a freebsd sender spew >> duplicate acks? This will have a negative affect on >> any benchmarks.. > > No, not yet. And my current test environment doesn't lend itself > to reproduce > the bug easily. I'm very likely to need further input from you and > will send > you some patches for instrumentation in the near future. Please CC me on the patches. Did you get a chance to check out the pcap that I linked to? Andy /* Andre Guibert de Bruet * 6f43 6564 7020 656f 2e74 4220 7469 6a20 */ /* Code poet / Sysadmin * 636f 656b 2e79 5320 7379 6461 696d 2e6e */ /* GSM: +1 734 846 8758 * 5520 494e 2058 6c73 7565 6874 002e 0000 */ /* WWW: siliconlandmark.com * C/C++, Java, Perl, PHP, SQL, XHTML, XML */