From owner-freebsd-net@FreeBSD.ORG Thu Mar 1 16:40:47 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AFF9016A407 for ; Thu, 1 Mar 2007 16:40:47 +0000 (UTC) (envelope-from andre@freebsd.org) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.freebsd.org (Postfix) with ESMTP id 1C96513C461 for ; Thu, 1 Mar 2007 16:40:46 +0000 (UTC) (envelope-from andre@freebsd.org) Received: (qmail 33480 invoked from network); 1 Mar 2007 16:13:30 -0000 Received: from dotat.atdotat.at (HELO [62.48.0.47]) ([62.48.0.47]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 1 Mar 2007 16:13:30 -0000 Message-ID: <45E7020D.2000605@freebsd.org> Date: Thu, 01 Mar 2007 17:40:45 +0100 From: Andre Oppermann User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b) Gecko/20050217 MIME-Version: 1.0 To: Andrew Gallatin References: <45E6E2E8.5060408@freebsd.org> <17894.61337.772803.325091@grasshopper.cs.duke.edu> In-Reply-To: <17894.61337.772803.325091@grasshopper.cs.duke.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, freebsd-current@freebsd.org, rwatson@freebsd.org, kmacy@freebsd.org Subject: Re: Large TCP send socket buffer optimizations X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2007 16:40:47 -0000 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. -- Andre