From owner-freebsd-current@FreeBSD.ORG Thu Mar 1 15:25:09 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 DAB8716A405; Thu, 1 Mar 2007 15:25:09 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.freebsd.org (Postfix) with ESMTP id 0559213C4A8; Thu, 1 Mar 2007 15:25:08 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.14.0/8.14.0) with ESMTP id l21FM7HX017318 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 1 Mar 2007 10:22:07 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id l21FM1Mt042892; Thu, 1 Mar 2007 10:22:01 -0500 (EST) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17894.61337.772803.325091@grasshopper.cs.duke.edu> Date: Thu, 1 Mar 2007 10:22:01 -0500 (EST) To: Andre Oppermann In-Reply-To: <45E6E2E8.5060408@freebsd.org> References: <45E6E2E8.5060408@freebsd.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid 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-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 15:25:10 -0000 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.. Drew